Fix color notification toggle

This commit is contained in:
h4h13 2019-06-29 22:45:31 +05:30
parent 3d57688717
commit 425d7caddd
10 changed files with 78 additions and 66 deletions

View file

@ -304,6 +304,10 @@ public final class PreferenceUtil {
return mPreferences.getBoolean(COLORED_NOTIFICATION, true);
}
public final void setColoredNotification(boolean b) {
mPreferences.edit().putBoolean(COLORED_NOTIFICATION, b).apply();
}
public final boolean classicNotification() {
return mPreferences.getBoolean(CLASSIC_NOTIFICATION, false);
}