summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-25 15:04:54 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-25 15:04:54 (GMT)
commitbfddfc467425891853d8c39451fd2acdcf7b8e77 (patch)
treec159055af5c6b5fd1a58826feb1448e45c199dff /src/displayapp/DisplayApp.cpp
parent1d240df4e0106742fb5b438242cda66f1824b5e2 (diff)
sans sysinfo
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
-rw-r--r--src/displayapp/DisplayApp.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp
index dc7ec57..03de120 100644
--- a/src/displayapp/DisplayApp.cpp
+++ b/src/displayapp/DisplayApp.cpp
@@ -16,7 +16,6 @@
#include "displayapp/screens/FirmwareValidation.h"
#include "displayapp/screens/Meter.h"
#include "displayapp/screens/Notifications.h"
-#include "displayapp/screens/SystemInfo.h"
#include "displayapp/screens/Tile.h"
#include "displayapp/screens/Steps.h"
#include "displayapp/screens/Error.h"
@@ -253,8 +252,8 @@ void DisplayApp::Refresh() {
}
break;
case Messages::ButtonLongerPressed:
- // Create reboot app and open it instead
- LoadApp(Apps::SysInfo, DisplayApp::FullRefreshDirections::Up);
+ // Open up Firmware window, before possible reboot if press continues
+ LoadApp(Apps::FirmwareValidation, DisplayApp::FullRefreshDirections::Up);
break;
case Messages::ButtonDoubleClicked:
if (currentApp != Apps::Notifications && currentApp != Apps::NotificationsPreview) {
@@ -385,11 +384,6 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
currentScreen = std::make_unique<Screens::SettingAirplaneMode>(this, settingsController);
ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
break;
- case Apps::SysInfo:
- currentScreen = std::make_unique<Screens::SystemInfo>(
- this, dateTimeController, batteryController, brightnessController, bleController, watchdog, motionController, touchPanel);
- ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
- break;
case Apps::HeartRate:
currentScreen = std::make_unique<Screens::HeartRate>(this, heartRateController, *systemTask);
break;