feat(settings): add summary to reblog action

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

View File

@ -37,7 +37,7 @@ public class NotificationsFragment extends SettingsBaseFragment {
GlobalUserPreferences.uniformNotificationIcon = i.checked; GlobalUserPreferences.uniformNotificationIcon = i.checked;
GlobalUserPreferences.save(); GlobalUserPreferences.save();
})); }));
items.add(new SwitchItem(R.string.mo_swap_bookmark_with_reblog, R.drawable.ic_boost, GlobalUserPreferences.swapBookmarkWithBoostAction, i -> { items.add(new SwitchItem(R.string.mo_swap_bookmark_with_reblog, R.string.mo_swap_bookmark_with_reblog_summary, R.drawable.ic_boost, GlobalUserPreferences.swapBookmarkWithBoostAction, i -> {
GlobalUserPreferences.swapBookmarkWithBoostAction=i.checked; GlobalUserPreferences.swapBookmarkWithBoostAction=i.checked;
GlobalUserPreferences.save(); GlobalUserPreferences.save();
})); }));

View File

@ -51,7 +51,7 @@
<string name="mo_share_open_url">Open in App</string> <string name="mo_share_open_url">Open in App</string>
<string name="mo_double_tap_to_swipe_between_tabs">Double tap to swipe between tabs</string> <string name="mo_double_tap_to_swipe_between_tabs">Double tap to swipe between tabs</string>
<string name="mo_swap_bookmark_with_reblog">Use reblog action instead of bookmark action on notifications</string> <string name="mo_swap_bookmark_with_reblog">Swap bookmark with reblog action</string>
<string name="mo_download_latest_nightly_release">Download latest nightly release</string> <string name="mo_download_latest_nightly_release">Download latest nightly release</string>
<string name="mo_load_remote_followers">Load remote profile follows and followers</string> <string name="mo_load_remote_followers">Load remote profile follows and followers</string>
<string name="mo_mention_reblogger_automatically">Automatically mention account who reblogged the post in replies</string> <string name="mo_mention_reblogger_automatically">Automatically mention account who reblogged the post in replies</string>
@ -81,6 +81,7 @@
<string name="mo_setting_default_reply_privacy_summary">Replies will be opted out of discovery features</string> <string name="mo_setting_default_reply_privacy_summary">Replies will be opted out of discovery features</string>
<string name="mo_setting_interaction_count_summary">Show how many people interacted with a post in the timeline</string> <string name="mo_setting_interaction_count_summary">Show how many people interacted with a post in the timeline</string>
<string name="mo_setting_disable_swipe_summary">Swipe to change viewed timeline</string> <string name="mo_setting_disable_swipe_summary">Swipe to change viewed timeline</string>
<string name="mo_swap_bookmark_with_reblog_summary">Bookmark or reblog posts from the notification</string>
<!-- Settings --> <!-- Settings -->
<string name="mo_notification_audience_settings">Notification Audience</string> <string name="mo_notification_audience_settings">Notification Audience</string>