@@ -149,7 +149,7 @@ def list_categories():
149
149
except :
150
150
draw_msg ('Failed!' )
151
151
draw_msg ('Returning to launcher :(' )
152
- appglue .start_app ('launcher' )
152
+ appglue .start_app ('launcher' , False )
153
153
154
154
f .close ()
155
155
draw_msg ('Done!' )
@@ -161,7 +161,7 @@ def list_categories():
161
161
ugfx .input_attach (ugfx .JOY_UP , lambda pushed : ugfx .flush () if pushed else 0 )
162
162
ugfx .input_attach (ugfx .JOY_DOWN , lambda pushed : ugfx .flush () if pushed else 0 )
163
163
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 )
165
165
ugfx .input_attach (ugfx .BTN_START , lambda pushed : appglue .start_app ("" ) if pushed else 0 )
166
166
167
167
ugfx .clear (ugfx .WHITE )
@@ -172,8 +172,8 @@ def list_categories():
172
172
for category in categories :
173
173
options .add_item ("%s (%d) >" % (category ["name" ], category ["eggs" ]))
174
174
175
- ugfx .string_box (148 ,0 ,148 ,26 , "Hatchery" , "Roboto_BlackItalic24" , ugfx .BLACK , ugfx .justifyCenter )
176
175
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 )
177
177
ugfx .line (148 , 78 , 296 , 78 , ugfx .BLACK )
178
178
ugfx .string_box (148 ,78 ,148 ,18 , " A: Open catergory" , "Roboto_Regular12" , ugfx .BLACK , ugfx .justifyLeft )
179
179
ugfx .string_box (148 ,92 ,148 ,18 , " B: Return to home" , "Roboto_Regular12" , ugfx .BLACK , ugfx .justifyLeft )
@@ -185,6 +185,6 @@ def list_categories():
185
185
186
186
if not connectWiFi ():
187
187
draw_msg ('Returning to launcher :(' )
188
- appglue .start_app ('launcher' )
188
+ appglue .start_app ('launcher' , False )
189
189
else :
190
190
list_categories ()
0 commit comments