From f68b3bae2d36061cf45240a286fb582078919c72 Mon Sep 17 00:00:00 2001 From: ljahn Date: Sat, 28 Dec 2024 15:34:11 +0100 Subject: [PATCH] Fix: Alarm stop alerting on time value chage --- src/displayapp/screens/Alarm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/displayapp/screens/Alarm.cpp b/src/displayapp/screens/Alarm.cpp index b1e673639a..7dbc9b5f02 100644 --- a/src/displayapp/screens/Alarm.cpp +++ b/src/displayapp/screens/Alarm.cpp @@ -186,6 +186,9 @@ bool Alarm::OnTouchEvent(Pinetime::Applications::TouchEvents event) { } void Alarm::OnValueChanged() { + if (alarmController.IsAlerting()) { + StopAlerting(); + } DisableAlarm(); UpdateAlarmTime(); }