@@ -149,7 +149,7 @@ def list_categories():
149149 except :
150150 draw_msg ('Failed!' )
151151 draw_msg ('Returning to launcher :(' )
152- appglue .start_app ('launcher' )
152+ appglue .start_app ('launcher' , False )
153153
154154 f .close ()
155155 draw_msg ('Done!' )
@@ -161,7 +161,7 @@ def list_categories():
161161 ugfx .input_attach (ugfx .JOY_UP , lambda pushed : ugfx .flush () if pushed else 0 )
162162 ugfx .input_attach (ugfx .JOY_DOWN , lambda pushed : ugfx .flush () if pushed else 0 )
163163 ugfx .input_attach (ugfx .BTN_A , select_category )
164- ugfx .input_attach (ugfx .BTN_B , lambda pushed : appglue .start_app ("launcher" ) if pushed else 0 )
164+ ugfx .input_attach (ugfx .BTN_B , lambda pushed : appglue .start_app ("launcher" , False ) if pushed else 0 )
165165 ugfx .input_attach (ugfx .BTN_START , lambda pushed : appglue .start_app ("" ) if pushed else 0 )
166166
167167 ugfx .clear (ugfx .WHITE )
@@ -172,8 +172,8 @@ def list_categories():
172172 for category in categories :
173173 options .add_item ("%s (%d) >" % (category ["name" ], category ["eggs" ]))
174174
175- ugfx .string_box (148 ,0 ,148 ,26 , "Hatchery" , "Roboto_BlackItalic24" , ugfx .BLACK , ugfx .justifyCenter )
176175 text .text ("Install or update eggs from the hatchery here\n \n \n \n " )
176+ ugfx .string_box (148 ,0 ,148 ,26 , "Hatchery" , "Roboto_BlackItalic24" , ugfx .BLACK , ugfx .justifyCenter )
177177 ugfx .line (148 , 78 , 296 , 78 , ugfx .BLACK )
178178 ugfx .string_box (148 ,78 ,148 ,18 , " A: Open catergory" , "Roboto_Regular12" , ugfx .BLACK , ugfx .justifyLeft )
179179 ugfx .string_box (148 ,92 ,148 ,18 , " B: Return to home" , "Roboto_Regular12" , ugfx .BLACK , ugfx .justifyLeft )
@@ -185,6 +185,6 @@ def list_categories():
185185
186186if not connectWiFi ():
187187 draw_msg ('Returning to launcher :(' )
188- appglue .start_app ('launcher' )
188+ appglue .start_app ('launcher' , False )
189189else :
190190 list_categories ()
0 commit comments