From ee799161046960ed83d82aa0493eeb794f17f072 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Thu, 9 Mar 2023 14:59:05 -0300 Subject: [PATCH] fix(#113): disableAltTextReminder setting being reset --- .../org/joinmastodon/android/fragments/SettingsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3b2617c97..95317b1e0 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java @@ -223,7 +223,7 @@ public class SettingsFragment extends MastodonToolbarFragment{ GlobalUserPreferences.save(); })); items.add(new SwitchItem(R.string.mo_disable_reminder_to_add_alt_text, R.drawable.ic_fluent_image_alt_text_24_regular, GlobalUserPreferences.disableAltTextReminder, i->{ - GlobalUserPreferences.showNoAltIndicator=i.checked; + GlobalUserPreferences.disableAltTextReminder=i.checked; GlobalUserPreferences.save(); needAppRestart=true; }));