diff options
author | Riku Isokoski <riksu9000@gmail.com> | 2021-09-12 11:08:25 +0300 |
---|---|---|
committer | Riku Isokoski <riksu9000@gmail.com> | 2021-09-12 11:08:25 +0300 |
commit | 3ee4876214b70c107cabbb54f865e646e99f0d73 (patch) | |
tree | ab0ba3a25b6a598b0371598ed72fea5af95adb97 /src/components/ble/NotificationManager.cpp | |
parent | cdf5801efeafd7f0ee05cbe23198856efb9890e3 (diff) |
Toggle notifications only, keep vibrations.
Diffstat (limited to 'src/components/ble/NotificationManager.cpp')
-rw-r--r-- | src/components/ble/NotificationManager.cpp | 8 |
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); } |