File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
internal_filesystem/lib/mpos/ui Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ def open_drawer():
3939 drawer .scroll_to (0 ,0 ,lv .ANIM .OFF ) # make sure it's at the top, not scrolled down
4040
4141def close_drawer (to_launcher = False ):
42- global drawer_open , drawer , foreground_app_name
42+ global drawer_open , drawer
4343 if drawer_open :
4444 drawer_open = False
4545 if not to_launcher and not mpos .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 } " )
46+ print (f"close_drawer: also closing bar because to_launcher is { to_launcher } and foreground_app_name is { mpos . ui . foreground_app_name } " )
4747 close_bar ()
4848 WidgetAnimator .hide_widget (drawer , anim_type = "slide_up" , duration = 1000 , delay = 0 )
4949
You can’t perform that action at this time.
0 commit comments