diff options
| author | Eli Weiss <eliwss0@gmail.com> | 2022-01-16 14:40:23 (GMT) |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2022-01-31 19:42:48 (GMT) |
| commit | 2daa5dcbeeecc0d6940906dadc42df1bd10b9b7e (patch) | |
| tree | ff32a409202ee94bc3dd21e03d783f245519353b /src/displayapp/DisplayApp.cpp | |
| parent | ae0724c28c33cf99886aae7df1997ed5a23f0684 (diff) | |
Added alarm 12 hour interface
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
| -rw-r--r-- | src/displayapp/DisplayApp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index 1b77e87..672bcb3 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -379,7 +379,7 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction) currentScreen = std::make_unique<Screens::Timer>(this, timerController); break; case Apps::Alarm: - currentScreen = std::make_unique<Screens::Alarm>(this, alarmController); + currentScreen = std::make_unique<Screens::Alarm>(this, alarmController, settingsController); break; // Settings @@ -425,7 +425,7 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction) ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown); break; case Apps::SettingShakeThreshold: - currentScreen = std::make_unique<Screens::SettingShakeThreshold>(this, settingsController,motionController,*systemTask); + currentScreen = std::make_unique<Screens::SettingShakeThreshold>(this, settingsController, motionController, *systemTask); ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown); break; case Apps::BatteryInfo: |
