Fixed swipe actions in quicksettings

This commit is contained in:
locker98 2024-05-09 09:03:26 -04:00
parent ca1f736147
commit c239a8c90f

View File

@ -318,11 +318,18 @@ void DisplayApp::Refresh() {
if (currentApp == Apps::Clock) { if (currentApp == Apps::Clock) {
LoadNewScreen(Apps::Launcher, DisplayApp::FullRefreshDirections::Up); LoadNewScreen(Apps::Launcher, DisplayApp::FullRefreshDirections::Up);
} }
else if (currentApp == Apps::QuickSettings) {
LoadNewScreen(Apps::Settings, DisplayApp::FullRefreshDirections::Up);
}
break; break;
case TouchEvents::SwipeDown: case TouchEvents::SwipeDown:
if (currentApp == Apps::Clock) { if (currentApp == Apps::Clock) {
LoadNewScreen(Apps::Notifications, DisplayApp::FullRefreshDirections::Down); LoadNewScreen(Apps::Notifications, DisplayApp::FullRefreshDirections::Down);
} }
if (currentApp == Apps::QuickSettings) {
LoadNewScreen(Apps::FlashLight, DisplayApp::FullRefreshDirections::Down);
}
break; break;
case TouchEvents::SwipeRight: case TouchEvents::SwipeRight:
if (currentApp == Apps::Clock) { if (currentApp == Apps::Clock) {