feat(settings/notifications): improve sub-header title

This commit is contained in:
FineFindus 2023-05-19 21:39:23 +02:00
parent f14977ba24
commit e682cae7e7
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public class NotificationsFragment extends SettingsBaseFragment {
items.add(new SwitchItem(R.string.sk_notify_update, R.drawable.ic_fluent_history_24_regular, pushSubscription.alerts.update, i -> onNotificationsChanged(PushNotification.Type.UPDATE, i.checked), switchEnabled));
items.add(new SwitchItem(R.string.sk_notify_poll_results, R.drawable.ic_fluent_poll_24_regular, pushSubscription.alerts.poll, i -> onNotificationsChanged(PushNotification.Type.POLL, i.checked), switchEnabled));
items.add(new HeaderItem(R.string.mo_miscellaneous_settings));
items.add(new HeaderItem(R.string.mo_notification_management_settings));
items.add(new SwitchItem(R.string.sk_enable_delete_notifications, R.drawable.ic_fluent_mail_inbox_dismiss_24_regular, GlobalUserPreferences.enableDeleteNotifications, i->{
GlobalUserPreferences.enableDeleteNotifications=i.checked;
GlobalUserPreferences.save();

View File

@ -31,7 +31,7 @@
<string name="mo_notification_action_replied">Successfully replied to the post by %s</string>
<string name="mo_change_default_reply_visibility_to_unlisted">Reply as \'Unlisted\' by default</string>
<string name="mo_composer_behavior">Composer\'s Behavior</string>
<string name="mo_miscellaneous_settings">Miscellaneous Settings</string>
<string name="mo_notification_management_settings">Manage Notifications</string>
<!-- accessibility labels-->
<string name="mo_poll_option_add">Add new poll option</string>