feat(settings/notifications): improve sub-header title
This commit is contained in:
parent
f14977ba24
commit
e682cae7e7
|
@ -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_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 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->{
|
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.enableDeleteNotifications=i.checked;
|
||||||
GlobalUserPreferences.save();
|
GlobalUserPreferences.save();
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<string name="mo_notification_action_replied">Successfully replied to the post by %s</string>
|
<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_change_default_reply_visibility_to_unlisted">Reply as \'Unlisted\' by default</string>
|
||||||
<string name="mo_composer_behavior">Composer\'s Behavior</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-->
|
<!-- accessibility labels-->
|
||||||
<string name="mo_poll_option_add">Add new poll option</string>
|
<string name="mo_poll_option_add">Add new poll option</string>
|
||||||
|
|
Loading…
Reference in New Issue