diff options
| author | Kieran Cawthray <kieranc@gmail.com> | 2021-06-04 06:57:40 (GMT) |
|---|---|---|
| committer | Kieran Cawthray <kieranc@gmail.com> | 2021-06-04 06:57:40 (GMT) |
| commit | f2d01166c380b72ebcb13ef649def88ff4cf2d21 (patch) | |
| tree | cbd7126f19a04983f1c97c3b0ee4fcda5160b39c /src/displayapp/DisplayApp.cpp | |
| parent | 565601ef5060cd4372be9e5bab130aff64f12223 (diff) | |
| parent | 79f0fcb07aa80eb70385223272e29f2ba5657bc8 (diff) | |
Merge remote-tracking branch 'upstream/develop' into pinetimestyle
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
| -rw-r--r-- | src/displayapp/DisplayApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index 419b9f6..7b03d56 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -153,7 +153,7 @@ void DisplayApp::Refresh() { break; case Messages::TimerDone: if (currentApp == Apps::Timer) { - auto *timer = dynamic_cast<Screens::Timer*>(currentScreen.get()); + auto *timer = static_cast<Screens::Timer*>(currentScreen.get()); timer->setDone(); } else { LoadApp(Apps::Timer, DisplayApp::FullRefreshDirections::Down); |
