summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Notifications.cpp
diff options
context:
space:
mode:
authorhubmartin <hub.martin@gmail.com>2021-09-13 08:19:07 (GMT)
committerhubmartin <hub.martin@gmail.com>2021-09-13 08:19:07 (GMT)
commit73d3e41ceadf576542508c114679e1d3e6039d4d (patch)
tree8fdbd15c5a0ac7fc209276ea6e60a9570a51b7ff /src/displayapp/screens/Notifications.cpp
parent8390d0ef7243261675aab3a5c19862eb3fc53e68 (diff)
parentc9aeef94ea824ad7304ca3f0bd76a476f4744ff4 (diff)
Merge branch 'develop' into pinmap
Diffstat (limited to 'src/displayapp/screens/Notifications.cpp')
-rw-r--r--src/displayapp/screens/Notifications.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/displayapp/screens/Notifications.cpp b/src/displayapp/screens/Notifications.cpp
index fd0b86d..417dff0 100644
--- a/src/displayapp/screens/Notifications.cpp
+++ b/src/displayapp/screens/Notifications.cpp
@@ -73,7 +73,6 @@ void Notifications::Refresh() {
timeoutLinePoints[1].x = pos;
lv_line_set_points(timeoutLine, timeoutLinePoints, 2);
}
- running = currentItem->IsRunning();
}
bool Notifications::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
@@ -153,7 +152,7 @@ Notifications::NotificationItem::NotificationItem(const char* title,
uint8_t notifNb,
Modes mode,
Pinetime::Controllers::AlertNotificationService& alertNotificationService)
- : notifNr {notifNr}, notifNb {notifNb}, mode {mode}, alertNotificationService {alertNotificationService} {
+ : mode {mode}, alertNotificationService {alertNotificationService} {
lv_obj_t* container1 = lv_cont_create(lv_scr_act(), NULL);
lv_obj_set_style_local_bg_color(container1, LV_CONT_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0x222222));