Move Task info to about menu

fix build error in WatchFaceDigital
This commit is contained in:
Joaquim
2021-04-11 17:20:15 +01:00
parent 012c246e40
commit f5e43a1668
9 changed files with 58 additions and 158 deletions

View File

@@ -24,7 +24,7 @@
#include "displayapp/screens/Twos.h"
#include "displayapp/screens/FlashLight.h"
#include "displayapp/screens/BatteryInfo.h"
#include "displayapp/screens/Tasks.h"
#include "drivers/Cst816s.h"
#include "drivers/St7789.h"
#include "drivers/Watchdog.h"
@@ -308,11 +308,6 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
case Apps::Motion:
currentScreen = std::make_unique<Screens::Motion>(this, motionController);
break;
case Apps::Tasks:
currentScreen = std::make_unique<Screens::Tasks>(this);
returnApp(Apps::Launcher, FullRefreshDirections::Down, TouchEvents::SwipeDown);
break;
}
currentApp = app;
}