summaryrefslogtreecommitdiff
path: root/src/components/ble/NotificationManager.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-09-12 08:08:25 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2021-09-12 08:08:25 (GMT)
commit3ee4876214b70c107cabbb54f865e646e99f0d73 (patch)
treeab0ba3a25b6a598b0371598ed72fea5af95adb97 /src/components/ble/NotificationManager.h
parentcdf5801efeafd7f0ee05cbe23198856efb9890e3 (diff)
Toggle notifications only, keep vibrations.
Diffstat (limited to 'src/components/ble/NotificationManager.h')
-rw-r--r--src/components/ble/NotificationManager.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h
index d4072cc..40f174e 100644
--- a/src/components/ble/NotificationManager.h
+++ b/src/components/ble/NotificationManager.h
@@ -44,8 +44,6 @@ namespace Pinetime {
Notification GetPrevious(Notification::Id id);
bool ClearNewNotificationFlag();
bool AreNewNotificationsAvailable();
- bool IsVibrationEnabled();
- void ToggleVibrations();
static constexpr size_t MaximumMessageSize() {
return MessageSize;
@@ -60,7 +58,6 @@ namespace Pinetime {
uint8_t writeIndex = 0;
bool empty = true;
std::atomic<bool> newNotification {false};
- bool vibrationEnabled = true;
};
}
-} \ No newline at end of file
+}