allow to enable/disable notifications per-account

This commit is contained in:
adbenitez 2024-07-03 18:52:15 +02:00
parent 7e7257bf41
commit 2f590871fe
10 changed files with 37 additions and 36 deletions

View file

@ -168,10 +168,6 @@ public class Prefs {
return getIntegerPreference(context, PROMPTED_DOZE_MSG_ID_PREF, 0);
}
public static boolean isNotificationsEnabled(Context context) {
return getBooleanPreference(context, NOTIFICATION_PREF, true);
}
public static boolean isPushEnabled(Context context) {
return BuildConfig.USE_PLAY_SERVICES && getBooleanPreference(context, "pref_push_enabled", true);
}