Fix animation when long pressing on screens adjacent to watch face
This commit is contained in:
parent
755ab72495
commit
bdf7e5293f
|
@ -262,8 +262,14 @@ void DisplayApp::Refresh() {
|
||||||
break;
|
break;
|
||||||
case Messages::ButtonLongPressed:
|
case Messages::ButtonLongPressed:
|
||||||
if (currentApp != Apps::Clock) {
|
if (currentApp != Apps::Clock) {
|
||||||
|
if (currentApp == Apps::Notifications) {
|
||||||
|
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::Up);
|
||||||
|
} else if (currentApp == Apps::QuickSettings) {
|
||||||
|
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::LeftAnim);
|
||||||
|
} else {
|
||||||
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::Down);
|
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::Down);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Messages::ButtonLongerPressed:
|
case Messages::ButtonLongerPressed:
|
||||||
// Create reboot app and open it instead
|
// Create reboot app and open it instead
|
||||||
|
|
Loading…
Reference in a new issue