Reset timer by long pressing on the button (#1214)
* Reset timer by long pressing on the button * Consider press_lost as released Otherwise the bar would keep increasing if the finger slid off the button
This commit is contained in:
@@ -183,7 +183,7 @@ void DisplayApp::Refresh() {
|
||||
case Messages::TimerDone:
|
||||
if (currentApp == Apps::Timer) {
|
||||
auto* timer = static_cast<Screens::Timer*>(currentScreen.get());
|
||||
timer->SetDone();
|
||||
timer->Reset();
|
||||
} else {
|
||||
LoadApp(Apps::Timer, DisplayApp::FullRefreshDirections::Down);
|
||||
}
|
||||
|
Reference in New Issue
Block a user