We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent9d46ac3 commit5fc403eCopy full SHA for 5fc403e
internal_filesystem/lib/mpos/ui/topmenu.py
@@ -39,11 +39,11 @@ def open_drawer():
39
drawer.scroll_to(0,0,lv.ANIM.OFF)# make sure it's at the top, not scrolled down
40
41
defclose_drawer(to_launcher=False):
42
-globaldrawer_open,drawer,foreground_app_name
+globaldrawer_open,drawer
43
ifdrawer_open:
44
drawer_open=False
45
ifnotto_launcherandnotmpos.apps.is_launcher(mpos.ui.foreground_app_name):
46
-print(f"close_drawer: also closing bar because to_launcher is{to_launcher} and foreground_app_name is{foreground_app_name}")
+print(f"close_drawer: also closing bar because to_launcher is{to_launcher} and foreground_app_name is{mpos.ui.foreground_app_name}")
47
close_bar()
48
WidgetAnimator.hide_widget(drawer,anim_type="slide_up",duration=1000,delay=0)
49