From cabf1168d429db84b0985e25881ead86d80dde3c Mon Sep 17 00:00:00 2001 From: JF Date: Wed, 21 Oct 2020 22:15:02 +0200 Subject: Notifications : Fix display of notification index/number. --- src/components/ble/NotificationManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/ble/NotificationManager.h') diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h index e4e2b4d4..64c6df6d 100644 --- a/src/components/ble/NotificationManager.h +++ b/src/components/ble/NotificationManager.h @@ -15,7 +15,6 @@ namespace Pinetime { Id id; bool valid = false; uint8_t index; - uint8_t number = TotalNbNotifications; std::array message; Categories category = Categories::Unknown; }; @@ -29,6 +28,7 @@ namespace Pinetime { bool AreNewNotificationsAvailable(); static constexpr uint8_t MaximumMessageSize() { return MessageSize; }; + size_t NbNotifications() const; private: Notification::Id GetNextId(); -- cgit v1.2.3-70-g09d2