Refactoring

This commit is contained in:
M66B
2022-07-11 11:35:53 +02:00
parent f4a294bbe8
commit f38e54b7db
5 changed files with 20 additions and 14 deletions

View File

@@ -636,8 +636,13 @@ public class ApplicationEx extends Application
editor.putBoolean("auto_identity", true);
} else if (version < 1931)
editor.remove("button_force_light").remove("fake_dark");
else if (version < 1933)
else if (version < 1933) {
editor.putBoolean("lt_enabled", true);
if (prefs.contains("disable_top")) {
editor.putBoolean("use_top", !prefs.getBoolean("disable_top", false));
editor.remove("disable_top");
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service");