mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-27 22:32:44 +01:00
@@ -229,7 +229,7 @@ class AirplanePage(Page):
|
|||||||
self._PosY = 0
|
self._PosY = 0
|
||||||
self._DrawOnce = False
|
self._DrawOnce = False
|
||||||
out = commands.getstatusoutput('sudo rfkill list | grep yes | cut -d " " -f3')
|
out = commands.getstatusoutput('sudo rfkill list | grep yes | cut -d " " -f3')
|
||||||
if out[1] == "yes":
|
if "yes" in out[1]:
|
||||||
self._Screen._TitleBar._InAirPlaneMode = True
|
self._Screen._TitleBar._InAirPlaneMode = True
|
||||||
self._airwire_y = 50+43
|
self._airwire_y = 50+43
|
||||||
self._dialog_index = 1
|
self._dialog_index = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user