Skip to content

Commit f030a5f

Browse files
Fix menu bar being hidden after starting an app
1 parent 10fc8f3 commit f030a5f

File tree

1 file changed

+1
-1
lines changed
  • internal_filesystem/lib/mpos

1 file changed

+1
-1
lines changed

internal_filesystem/lib/mpos/apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def find_main_launcher_activity(app):
159159
def is_launcher(app_name):
160160
print(f"checking is_launcher for {app_name}")
161161
# Simple check, could be more elaborate by checking the MANIFEST.JSON for the app...
162-
return "launcher" in app_name
162+
return "launcher" in app_name or len(mpos.ui.screen_stack) < 2 # assumes the first one on the stack is the launcher
163163

164164

165165
class App:

0 commit comments

Comments
 (0)