fix(#113): disableAltTextReminder setting being reset

This commit is contained in:
LucasGGamerM 2023-03-09 14:59:05 -03:00
parent d95b395cfc
commit ee79916104
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}));