Fix selection of default app
parent
2aeb0434da
commit
b87954d7f5
|
@ -28,7 +28,7 @@ def settings_startup_app(state):
|
||||||
print(apps)
|
print(apps)
|
||||||
selection = prompt_option([{"title": a.title, "app": a} for a in apps], text="Select App:", none_text="Back", title="Set startup app")
|
selection = prompt_option([{"title": a.title, "app": a} for a in apps], text="Select App:", none_text="Back", title="Set startup app")
|
||||||
if selection:
|
if selection:
|
||||||
app.write_launch_file(app.name, "default_app.txt")
|
app.write_launch_file(selection["app"].name, "default_app.txt")
|
||||||
|
|
||||||
def settings_wifi(state):
|
def settings_wifi(state):
|
||||||
wifi.choose_wifi()
|
wifi.choose_wifi()
|
||||||
|
|
Loading…
Reference in New Issue