mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-23 06:50:53 -04:00
Cleanup
This commit is contained in:
parent
723e8f961f
commit
cf2a45e862
1 changed files with 1 additions and 2 deletions
|
@ -73,12 +73,11 @@ class SidebandApp(MDApp):
|
||||||
self.title = "Sideband"
|
self.title = "Sideband"
|
||||||
self.app_state = SidebandApp.STARTING
|
self.app_state = SidebandApp.STARTING
|
||||||
self.android_service = None
|
self.android_service = None
|
||||||
|
self.app_dir = plyer.storagepath.get_application_dir()
|
||||||
|
|
||||||
if RNS.vendor.platformutils.get_platform() == "android":
|
if RNS.vendor.platformutils.get_platform() == "android":
|
||||||
self.app_dir = plyer.storagepath.get_application_dir()
|
|
||||||
self.sideband = SidebandCore(self, is_client=True, android_app_dir=self.app_dir)
|
self.sideband = SidebandCore(self, is_client=True, android_app_dir=self.app_dir)
|
||||||
else:
|
else:
|
||||||
self.app_dir = None
|
|
||||||
self.sideband = SidebandCore(self, is_client=False)
|
self.sideband = SidebandCore(self, is_client=False)
|
||||||
|
|
||||||
self.update_ui_theme()
|
self.update_ui_theme()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue