summaryrefslogtreecommitdiff
path: root/src/components/ble/NotificationManager.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-09-12 11:08:25 +0300
committerRiku Isokoski <riksu9000@gmail.com>2021-09-12 11:08:25 +0300
commit3ee4876214b70c107cabbb54f865e646e99f0d73 (patch)
treeab0ba3a25b6a598b0371598ed72fea5af95adb97 /src/components/ble/NotificationManager.cpp
parentcdf5801efeafd7f0ee05cbe23198856efb9890e3 (diff)
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);
}