aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/NotificationManager.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-09-23 20:13:42 +0200
committerGitHub <noreply@github.com>2021-09-23 20:13:42 +0200
commit8a2b86dc8376d915b664a301465f7a5ef675b66f (patch)
treee9e5efad34e3ab0ed7e3651364ab09985b5c9bcb /src/components/ble/NotificationManager.cpp
parent1c3c3c8db919c703bbd3f1be4ce9c6833237ea6f (diff)
parent93d240a23b1071efd0ac4ecba986f98bc1dae2a4 (diff)
Merge pull request #664 from Riksu9000/disable_notif_only
Toggle notifications only, keep vibrations.
Diffstat (limited to 'src/components/ble/NotificationManager.cpp')
-rw-r--r--src/components/ble/NotificationManager.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/components/ble/NotificationManager.cpp b/src/components/ble/NotificationManager.cpp
index b1b0e6b2..7ffed300 100644
--- a/src/components/ble/NotificationManager.cpp
+++ b/src/components/ble/NotificationManager.cpp
@@ -79,14 +79,6 @@ bool NotificationManager::AreNewNotificationsAvailable() {
return newNotification;
}
-bool NotificationManager::IsVibrationEnabled() {
- return vibrationEnabled;
-}
-
-void NotificationManager::ToggleVibrations() {
- vibrationEnabled = !vibrationEnabled;
-}
-
bool NotificationManager::ClearNewNotificationFlag() {
return newNotification.exchange(false);
}