Fixed swipe actions in quicksettings
This commit is contained in:
parent
ca1f736147
commit
c239a8c90f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user