Skip to content

Commit 88d6f06

Browse files
committed
Fix text of indicating no problem
1 parent 5de454b commit 88d6f06

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

app/release/output.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/src/main/java/com/geckour/lopicmaker/ui/main/draft/DraftProblemsFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class DraftProblemsFragment : Fragment() {
4848

4949
mainViewModel.fabRightMode.postValue(MainViewModel.FabRightMode.ADD)
5050

51+
binding.textIndicateEmpty.setText(R.string.problem_fragment_message_empty_draft)
52+
5153
binding.recyclerView.apply {
5254
layoutManager = LinearLayoutManager(context)
5355
adapter = viewModel.adapter

app/src/main/java/com/geckour/lopicmaker/ui/main/problem/ProblemsFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class ProblemsFragment : Fragment() {
4848

4949
mainViewModel.fabRightMode.postValue(MainViewModel.FabRightMode.ADD)
5050

51+
binding.textIndicateEmpty.setText(R.string.problem_fragment_message_empty)
52+
5153
binding.recyclerView.apply {
5254
layoutManager = LinearLayoutManager(context)
5355
adapter = viewModel.adapter

app/src/main/res/layout/fragment_problems.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
android:layout_width="wrap_content"
1313
android:layout_height="wrap_content"
1414
android:layout_centerInParent="true"
15-
android:text="@string/problem_fragment_message_empty_draft"
1615
app:layout_constraintBottom_toBottomOf="parent"
1716
app:layout_constraintEnd_toEndOf="parent"
1817
app:layout_constraintStart_toStartOf="parent"

0 commit comments

Comments
 (0)