fix(notifications/filter): update reset button title

This commit is contained in:
FineFindus 2023-11-14 22:28:31 +01:00
parent e80348ac7d
commit cb7586f973
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
2 changed files with 4 additions and 3 deletions

View File

@ -172,7 +172,7 @@ public class NotificationsFragment extends MastodonToolbarFragment implements Sc
getLocalPrefs().save();
this.allNotificationsFragment.reload();
}).setNeutralButton(R.string.clear, (d, which) -> {
}).setNeutralButton(R.string.mo_notification_filter_reset, (d, which) -> {
Arrays.fill(checkedItems, true);
getLocalPrefs().notificationFilters.mention=checkedItems[0];
getLocalPrefs().notificationFilters.reblog=checkedItems[1];

View File

@ -111,10 +111,11 @@
<string name="mo_confirm_unfollow">Confirm to unfollow %s</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_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_mutes">Mutes</string>-->
<!-- <string name="mo_mutes">Mutes</string>-->
<string name="mo_blocked_accounts">Blocked accounts</string>
<!-- <string name="mo_blocks">Blocks</string>-->
</resources>