Merge pull request #820 from Riksu9000/fix-anim-dir
Fix animation when long pressing on screens adjacent to watch face
This commit is contained in:
commit
dc25e7a887
1 changed files with 7 additions and 1 deletions
|
@ -262,8 +262,14 @@ void DisplayApp::Refresh() {
|
|||
break;
|
||||
case Messages::ButtonLongPressed:
|
||||
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);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Messages::ButtonLongerPressed:
|
||||
// Create reboot app and open it instead
|
||||
|
|
Loading…
Reference in a new issue