Fix colors in classic
This commit is contained in:
parent
d74ad32a38
commit
6e7d945fb1
11 changed files with 90 additions and 113 deletions
|
@ -499,10 +499,10 @@ public final class PreferenceUtil {
|
|||
|
||||
@NonNull
|
||||
public ThemeMode getGeneralThemeValue() {
|
||||
if (isBlackMode()) {
|
||||
String themeMode = mPreferences.getString(GENERAL_THEME, "dark");
|
||||
if (isBlackMode() && themeMode.equals("dark")) {
|
||||
return ThemeMode.BLACK;
|
||||
} else {
|
||||
String themeMode = mPreferences.getString(GENERAL_THEME, "dark");
|
||||
switch (themeMode) {
|
||||
case "light":
|
||||
return ThemeMode.LIGHT;
|
||||
|
@ -764,7 +764,7 @@ public final class PreferenceUtil {
|
|||
return mPreferences.getBoolean(INTRO_SHOWN, false);
|
||||
}
|
||||
|
||||
public boolean isBlackMode() {
|
||||
private boolean isBlackMode() {
|
||||
return mPreferences.getBoolean(BLACK_THEME, false);
|
||||
}
|
||||
|
||||
|
|
|
@ -10,9 +10,6 @@ import code.name.monkey.retromusic.R
|
|||
import code.name.monkey.retromusic.util.PreferenceUtil
|
||||
import code.name.monkey.retromusic.util.theme.ThemeMode.*
|
||||
|
||||
/**
|
||||
* @author Paolo Valerdi
|
||||
*/
|
||||
object ThemeManager {
|
||||
|
||||
@StyleRes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue