mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 10:18:51 +01:00
bug fix in airplane mode
This commit is contained in:
parent
0d03a717dc
commit
9dbe1ca630
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user