disabled auto theme for non milk users
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user