This commit is contained in:
Grishka
2024-11-07 13:46:25 +03:00
parent 9c95d5f6e5
commit 6406d25938

View File

@@ -36,6 +36,10 @@ public class GlobalUserPreferences{
confirmDeletePost=prefs.getBoolean("confirmDeletePost", true); confirmDeletePost=prefs.getBoolean("confirmDeletePost", true);
theme=ThemePreference.values()[prefs.getInt("theme", 0)]; theme=ThemePreference.values()[prefs.getInt("theme", 0)];
useDynamicColors=prefs.getBoolean("useDynamicColors", true); useDynamicColors=prefs.getBoolean("useDynamicColors", true);
showInteractionCounts=prefs.getBoolean("interactionCounts", true);
customEmojiInNames=prefs.getBoolean("emojiInNames", true);
showCWs=prefs.getBoolean("showCWs", true);
hideSensitiveMedia=prefs.getBoolean("hideSensitive", true);
if(!prefs.getBoolean("perAccountMigrationDone", false)){ if(!prefs.getBoolean("perAccountMigrationDone", false)){
AccountSession account=AccountSessionManager.getInstance().getLastActiveAccount(); AccountSession account=AccountSessionManager.getInstance().getLastActiveAccount();
if(account!=null){ if(account!=null){