Skip to content

Commit

Permalink
Fix notifications that wouldn't auto close when the timeout elapsed (…
Browse files Browse the repository at this point in the history
…in preview mode).
  • Loading branch information
JF002 committed Aug 31, 2021
1 parent 6c02378 commit 1635bfa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/displayapp/screens/Notifications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

1 comment on commit 1635bfa

@Riksu9000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That line was required to close the screen when a call button was pressed. It should've been running = currentItem->IsRunning() && running; instead

Please sign in to comment.