From 9c1812ce0890e0524ea5d505503bfc5f3f8a9b3b Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Thu, 29 Dec 2022 17:38:01 -0300 Subject: [PATCH] Trying to process wtf happened here --- .../android/fragments/SettingsFragment.java | 20 +++++++++---------- mastodon/src/main/res/values/strings_sk.xml | 2 -- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java index 5bb007743..003ea8331 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java @@ -161,20 +161,20 @@ public class SettingsFragment extends MastodonToolbarFragment{ GlobalUserPreferences.save(); needAppRestart=true; })); - items.add(new SwitchItem(R.string.sk_enable_delete_notifications, R.drawable.ic_fluent_delete_24_regular, GlobalUserPreferences.enableDeleteNotifications, i->{ - GlobalUserPreferences.enableDeleteNotifications=i.checked; - GlobalUserPreferences.save(); - needAppRestart=true; - })); +// items.add(new SwitchItem(R.string.sk_enable_delete_notifications, R.drawable.ic_fluent_delete_24_regular, GlobalUserPreferences.enableDeleteNotifications, i->{ +// GlobalUserPreferences.enableDeleteNotifications=i.checked; +// GlobalUserPreferences.save(); +// needAppRestart=true; +// })); items.add(new SwitchItem(R.string.sk_relocate_publish_button, R.drawable.ic_fluent_arrow_autofit_down_24_regular, GlobalUserPreferences.relocatePublishButton, i->{ GlobalUserPreferences.relocatePublishButton=i.checked; GlobalUserPreferences.save(); })); - items.add(new SwitchItem(R.string.sk_settings_hide_translate_in_timeline, R.drawable.ic_fluent_translate_24_regular, GlobalUserPreferences.translateButtonOpenedOnly, i->{ - GlobalUserPreferences.translateButtonOpenedOnly=i.checked; - GlobalUserPreferences.save(); - needAppRestart=true; - })); +// items.add(new SwitchItem(R.string.sk_settings_hide_translate_in_timeline, R.drawable.ic_fluent_translate_24_regular, GlobalUserPreferences.translateButtonOpenedOnly, i->{ +// GlobalUserPreferences.translateButtonOpenedOnly=i.checked; +// GlobalUserPreferences.save(); +// needAppRestart=true; +// })); items.add(new HeaderItem(R.string.home_timeline)); items.add(new SwitchItem(R.string.sk_settings_show_replies, R.drawable.ic_fluent_chat_multiple_24_regular, GlobalUserPreferences.showReplies, i->{ diff --git a/mastodon/src/main/res/values/strings_sk.xml b/mastodon/src/main/res/values/strings_sk.xml index 102653605..6c31bd8d2 100644 --- a/mastodon/src/main/res/values/strings_sk.xml +++ b/mastodon/src/main/res/values/strings_sk.xml @@ -87,8 +87,6 @@ Hide translate button in timeline %s supports translation! %s seems not to support translation. - %s supports translation! - %s does not appear to support translation. Looking it up on the Fediverse… Undo reblog Reblog with visibility