Fix notifications that wouldn't auto close when the timeout elapsed (in preview mode).

This commit is contained in:
Jean-François Milants 2021-08-31 21:56:21 +02:00
parent 6c023785e5
commit 1635bfafb3

View file

@ -73,7 +73,6 @@ void Notifications::Refresh() {
timeoutLinePoints[1].x = pos; timeoutLinePoints[1].x = pos;
lv_line_set_points(timeoutLine, timeoutLinePoints, 2); lv_line_set_points(timeoutLine, timeoutLinePoints, 2);
} }
running = currentItem->IsRunning();
} }
bool Notifications::OnTouchEvent(Pinetime::Applications::TouchEvents event) { bool Notifications::OnTouchEvent(Pinetime::Applications::TouchEvents event) {