Skip to content

Commit

Permalink
Fixed bug where snoozing causes crash due to widget not being on screen
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberneel committed Nov 30, 2024
1 parent dc9bc32 commit 59db249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/displayapp/screens/Sleep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ void Sleep::OnButtonEvent(lv_obj_t* obj, lv_event_t event) {
if (event == LV_EVENT_CLICKED) {
if (obj == btnSnooze) {
StopAlerting();
UpdateDisplay();
SnoozeWakeAlarm();
return;
}
Expand Down

0 comments on commit 59db249

Please sign in to comment.