Skip to content

Commit b529dd5

Browse files
committed
Address comments.
1 parent ee95be9 commit b529dd5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

app/src/main/java/com/example/android/architecture/blueprints/todoapp/addedittask/AddEditTaskFragment.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ class AddEditTaskFragment : Fragment() {
4141

4242
private val args: AddEditTaskFragmentArgs by navArgs()
4343

44-
private val viewModel by viewModels<AddEditTaskViewModel> {
45-
getViewModelFactory()
46-
}
44+
private val viewModel by viewModels<AddEditTaskViewModel> { getViewModelFactory() }
4745

4846
override fun onCreateView(
4947
inflater: LayoutInflater, container: ViewGroup?,

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
-->
1616

1717
<resources>
18-
<string name="app_name">Tasks</string>
18+
<string name="app_name">Todo</string>
1919
<string name="add_task">New Task</string>
2020
<string name="edit_task">Edit Task</string>
2121
<string name="task_marked_complete">Task marked complete</string>
@@ -25,7 +25,7 @@
2525
<string name="menu_filter">Filter</string>
2626
<string name="menu_clear">Clear completed</string>
2727
<string name="menu_delete_task">Delete task</string>
28-
<string name="navigation_view_header_title">Tasks</string>
28+
<string name="navigation_view_header_title">Todo</string>
2929
<string name="title_hint">Title</string>
3030
<string name="description_hint">Enter your task here.</string>
3131
<string name="empty_task_message">Tasks cannot be empty</string>

0 commit comments

Comments
 (0)