Skip to content

Commit

Permalink
Fix: Alarm stop alerting on time value chage
Browse files Browse the repository at this point in the history
  • Loading branch information
ljahn committed Dec 28, 2024
1 parent d69cfcf commit f68b3ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/displayapp/screens/Alarm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ bool Alarm::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
}

void Alarm::OnValueChanged() {
if (alarmController.IsAlerting()) {
StopAlerting();
}
DisableAlarm();
UpdateAlarmTime();
}
Expand Down

0 comments on commit f68b3ba

Please sign in to comment.