Skip to content

Commit c091b17

Browse files
author
Olivier ROMAN
committed
Notification icon last while notification still there
1 parent a6794ea commit c091b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/displayapp/screens/WatchFaceMixed.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ void WatchFaceMixed::UpdateWeather() {
358358
void WatchFaceMixed::Refresh() {
359359
statusIcons.Update();
360360

361-
notificationState = notificationManager.AreNewNotificationsAvailable();
361+
notificationState = notificationManager.NbNotifications() > 0;
362362
if (notificationState.IsUpdated()) {
363363
lv_label_set_text_static(notificationIcon, NotificationIcon::GetIcon(notificationState.Get()));
364364
}

0 commit comments

Comments
 (0)