diff options
Diffstat (limited to 'src/components/ble/NotificationManager.h')
| -rw-r--r-- | src/components/ble/NotificationManager.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h index f68a68af..57a9c715 100644 --- a/src/components/ble/NotificationManager.h +++ b/src/components/ble/NotificationManager.h @@ -27,11 +27,12 @@ namespace Pinetime { struct Notification { using Id = uint8_t; using Idx = uint8_t; - Id id = 0; - bool valid = false; + + std::array<char, MessageSize + 1> message{}; uint8_t size; - std::array<char, MessageSize + 1> message {}; Categories category = Categories::Unknown; + Id id = 0; + bool valid = false; const char* Message() const; const char* Title() const; |
