summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Timer.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-05-10 18:20:34 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-05-10 19:16:02 (GMT)
commit2f0858fa0561d09d59ab4435c0b4342794738a77 (patch)
tree79ede703faa72c0b2ff95a21fb0a6702b4e1a70e /src/displayapp/screens/Timer.cpp
parent3744e655fa94cc2efece15c3196cf8b398354ca2 (diff)
Fix for stopping timer alert and simplifying code.
Diffstat (limited to 'src/displayapp/screens/Timer.cpp')
-rw-r--r--src/displayapp/screens/Timer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/displayapp/screens/Timer.cpp b/src/displayapp/screens/Timer.cpp
index 91e6f49..935dbe2 100644
--- a/src/displayapp/screens/Timer.cpp
+++ b/src/displayapp/screens/Timer.cpp
@@ -60,7 +60,6 @@ void Timer::Stop() {
secondsToSet = secondsRemaining % 60;
}
timerController.StopTimer();
- timerController.StopAlerting();
RefreshRunning();
}
@@ -94,7 +93,6 @@ Timer::~Timer() {
lv_obj_clean(lv_scr_act());
if (timerController.IsRunning() && timerController.IsOvertime()) {
timerController.StopTimer();
- timerController.StopAlerting();
}
}
@@ -129,4 +127,3 @@ void Timer::RefreshRunning() {
CreateButtons();
}
}
-