NotificationItem now also redefines the start of the timeout

This commit is contained in:
Florian Kraupa
2021-05-13 01:51:43 +02:00
parent 56af4a0b83
commit 9e8dd9a1e6
2 changed files with 16 additions and 8 deletions

View File

@@ -37,7 +37,8 @@ namespace Pinetime {
Modes mode,
Pinetime::Controllers::AlertNotificationService& alertNotificationService,
Controllers::MotorController& motorController,
uint32_t* timeoutEnd);
uint32_t* timeoutEnd,
uint32_t* timeoutStart);
~NotificationItem();
bool Refresh() {
return false;
@@ -66,6 +67,7 @@ namespace Pinetime {
lv_obj_t* label_reject;
lv_obj_t* bottomPlaceholder;
uint32_t* timeoutEnd;
uint32_t* timeoutStart;
Modes mode;
Pinetime::Controllers::AlertNotificationService& alertNotificationService;
Controllers::MotorController& motorController;