fix(notifications/filter): update reset button title
This commit is contained in:
parent
e80348ac7d
commit
cb7586f973
|
@ -172,7 +172,7 @@ public class NotificationsFragment extends MastodonToolbarFragment implements Sc
|
||||||
getLocalPrefs().save();
|
getLocalPrefs().save();
|
||||||
|
|
||||||
this.allNotificationsFragment.reload();
|
this.allNotificationsFragment.reload();
|
||||||
}).setNeutralButton(R.string.clear, (d, which) -> {
|
}).setNeutralButton(R.string.mo_notification_filter_reset, (d, which) -> {
|
||||||
Arrays.fill(checkedItems, true);
|
Arrays.fill(checkedItems, true);
|
||||||
getLocalPrefs().notificationFilters.mention=checkedItems[0];
|
getLocalPrefs().notificationFilters.mention=checkedItems[0];
|
||||||
getLocalPrefs().notificationFilters.reblog=checkedItems[1];
|
getLocalPrefs().notificationFilters.reblog=checkedItems[1];
|
||||||
|
|
|
@ -111,6 +111,7 @@
|
||||||
<string name="mo_confirm_unfollow">Confirm to unfollow %s</string>
|
<string name="mo_confirm_unfollow">Confirm to unfollow %s</string>
|
||||||
<string name="mo_recent_emoji_cleared">Recent emoji cleared</string>
|
<string name="mo_recent_emoji_cleared">Recent emoji cleared</string>
|
||||||
<string name="mo_show_media_preview">Show media preview in timelines</string>
|
<string name="mo_show_media_preview">Show media preview in timelines</string>
|
||||||
|
<string name="mo_notification_filter_reset">Reset to default</string>
|
||||||
|
|
||||||
<!-- Temporary Strings. They exist in strings_sk.xml, but are not available on Megalodon's weblate-->
|
<!-- Temporary Strings. They exist in strings_sk.xml, but are not available on Megalodon's weblate-->
|
||||||
<string name="mo_muted_accounts">Muted accounts</string>
|
<string name="mo_muted_accounts">Muted accounts</string>
|
||||||
|
|
Loading…
Reference in New Issue