diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-05-10 18:20:34 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-05-10 19:16:02 (GMT) |
| commit | 2f0858fa0561d09d59ab4435c0b4342794738a77 (patch) | |
| tree | 79ede703faa72c0b2ff95a21fb0a6702b4e1a70e /src/displayapp/screens/Timer.cpp | |
| parent | 3744e655fa94cc2efece15c3196cf8b398354ca2 (diff) | |
Fix for stopping timer alert and simplifying code.
Diffstat (limited to 'src/displayapp/screens/Timer.cpp')
| -rw-r--r-- | src/displayapp/screens/Timer.cpp | 3 |
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(); } } - |
