From 59e2c68f40a5c39e111b816a5e38d2cf8c3779c8 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Fri, 31 Dec 2021 01:01:31 -0600 Subject: [PATCH] Remove option for disabling notifications --- .../tasks/notifications/NotificationManager.kt | 3 --- app/src/main/res/values/keys.xml | 1 - .../main/res/xml/preferences_notifications.xml | 16 ---------------- 3 files changed, 20 deletions(-) diff --git a/app/src/main/java/org/tasks/notifications/NotificationManager.kt b/app/src/main/java/org/tasks/notifications/NotificationManager.kt index 2787c9cc8..bb7230d28 100644 --- a/app/src/main/java/org/tasks/notifications/NotificationManager.kt +++ b/app/src/main/java/org/tasks/notifications/NotificationManager.kt @@ -173,9 +173,6 @@ class NotificationManager @Inject constructor( alert: Boolean, nonstop: Boolean, fiveTimes: Boolean) { - if (!preferences.getBoolean(R.string.p_rmd_enabled, true)) { - return - } builder.setLocalOnly(!preferences.getBoolean(R.string.p_wearable_notifications, true)) if (AndroidUtilities.preOreo()) { if (alert) { diff --git a/app/src/main/res/values/keys.xml b/app/src/main/res/values/keys.xml index 2f4f24682..cfb06106a 100644 --- a/app/src/main/res/values/keys.xml +++ b/app/src/main/res/values/keys.xml @@ -51,7 +51,6 @@ p_google_drive_backup p_google_drive_backup_account p_google_drive_backup_folder - notif_enabled enable_qhours diff --git a/app/src/main/res/xml/preferences_notifications.xml b/app/src/main/res/xml/preferences_notifications.xml index 2fd77a633..907be1d42 100644 --- a/app/src/main/res/xml/preferences_notifications.xml +++ b/app/src/main/res/xml/preferences_notifications.xml @@ -19,15 +19,8 @@ - - @@ -67,26 +56,22 @@