disabled auto theme for non milk users

This commit is contained in:
gdlbo
2022-10-05 20:57:15 +03:00
parent 9ba210e166
commit d40162caa1
2 changed files with 2 additions and 2 deletions
@@ -203,7 +203,7 @@ public class VTSettings extends MaterialPreferenceToolbarFragment {
addPreferenceCategory(this, AndroidUtils.getString("appearance_theme_use_system"));
if (Build.VERSION.SDK_INT >= 28) {
if (Build.VERSION.SDK_INT >= 28 && milkshake()) {
addListPreferenceIcon(
this,
"currsystemtheme",
@@ -66,7 +66,7 @@ public class Preferences {
}
public static boolean systemtheme() {
return Build.VERSION.SDK_INT >= 28 && (getPreferences().getString("currsystemtheme", "system").equals("system") || getPreferences().getString("currsystemtheme", "system").isEmpty());
return Build.VERSION.SDK_INT >= 28 && milkshake() && (getPreferences().getString("currsystemtheme", "system").equals("system") || getPreferences().getString("currsystemtheme", "system").isEmpty());
}
public static boolean authorsrecomm() {