diff options
| author | Victor Kareh <vkareh@redhat.com> | 2024-02-09 08:22:47 -0500 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2024-03-12 21:01:42 +0100 |
| commit | 3b4b5a51639016a87ef7309475f2ca83807804cf (patch) | |
| tree | 9fa7628e85bb178d469315d67fdfded361c083b1 | |
| parent | f2df0c45ef17f5a6180ecd21654c74506d7d7dd8 (diff) | |
ApplicationList: Reset app menu screen when loading watch face
This prevents the application list from loading in the last used screen
and instead goes back to the first screen whenever the watch face is
loaded.
Fixes #2006
| -rw-r--r-- | src/displayapp/DisplayApp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index c1008be0..9c7d87b2 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -446,6 +446,7 @@ void DisplayApp::LoadScreen(Apps app, DisplayApp::FullRefreshDirections directio else { currentScreen.reset(userWatchFaces[0].create(controllers)); } + settingsController.SetAppMenu(0); } break; case Apps::Error: currentScreen = std::make_unique<Screens::Error>(bootError); |
