mirror of
https://github.com/markqvist/Sideband.git
synced 2024-10-01 03:15:37 -04:00
Cleanup
This commit is contained in:
parent
1b64eb63f5
commit
8eea74c74e
@ -242,6 +242,7 @@ class SidebandApp(MDApp):
|
|||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
FONT_PATH = self.sideband.asset_dir+"/fonts"
|
FONT_PATH = self.sideband.asset_dir+"/fonts"
|
||||||
|
self.icon = self.sideband.asset_dir+"/icon.png"
|
||||||
screen = Builder.load_string(root_layout)
|
screen = Builder.load_string(root_layout)
|
||||||
|
|
||||||
return screen
|
return screen
|
||||||
|
@ -95,8 +95,8 @@ class SidebandCore():
|
|||||||
self.asset_dir = plyer.storagepath.get_application_dir()+"/sbapp/assets"
|
self.asset_dir = plyer.storagepath.get_application_dir()+"/sbapp/assets"
|
||||||
|
|
||||||
self.icon = self.asset_dir+"/icon.png"
|
self.icon = self.asset_dir+"/icon.png"
|
||||||
self.icon_48 = self.asset_dir+"/icon_48.png"
|
self.icon_48 = self.asset_dir+"/icon_48.png"
|
||||||
self.icon_32 = self.asset_dir+"/icon_32.png"
|
self.icon_32 = self.asset_dir+"/icon_32.png"
|
||||||
self.notification_icon = self.asset_dir+"/notification_icon.png"
|
self.notification_icon = self.asset_dir+"/notification_icon.png"
|
||||||
|
|
||||||
if not os.path.isdir(self.app_dir+"/app_storage"):
|
if not os.path.isdir(self.app_dir+"/app_storage"):
|
||||||
|
Loading…
Reference in New Issue
Block a user