Skip to content

Commit

Permalink
feat(filter): Use "reset" in favor of "clear" for resetting filters
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Niedermann <[email protected]>
  • Loading branch information
stefan-niedermann committed Jan 18, 2024
1 parent eea21c7 commit a20a2de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void onPageSelected(int position) {
.setTitle(R.string.simple_filter)
.setView(binding.getRoot())
.setNeutralButton(android.R.string.cancel, null)
.setNegativeButton(R.string.simple_clear, (a, b) -> filterViewModel.clearFilterInformation(false))
.setNegativeButton(R.string.simple_reset, (a, b) -> filterViewModel.clearFilterInformation(false))
.setPositiveButton(R.string.simple_filter, (a, b) -> filterViewModel.publishFilterInformationDraft())
.create();
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<string name="simple_close">Close</string>
<string name="simple_filter">Filter</string>
<string name="simple_completed">Completed</string>
<string name="simple_clear">Clear</string>
<string name="simple_reset">Reset</string>
<string name="simple_discard">Discard</string>
<string name="simple_update">Update</string>
<string name="simple_delete">Delete</string>
Expand Down

0 comments on commit a20a2de

Please sign in to comment.