This commit is contained in:
yumoqing 2023-12-17 12:36:59 +08:00
parent 977161fae3
commit 58a143a9ea

View File

@ -99,7 +99,6 @@ class BlocksApp(App):
def build(self): def build(self):
tl = Label(text='test') tl = Label(text='test')
self.font_size = tl.font_size self.font_size = tl.font_size
print('##################app_font_size=', self.font_size)
config = getConfig() config = getConfig()
self.workers = Workers(maxworkers=config.maxworkers or 80) self.workers = Workers(maxworkers=config.maxworkers or 80)
self.workers.start() self.workers.start()
@ -132,12 +131,6 @@ class BlocksApp(App):
return x return x
return None return None
def realurl(self, url):
if url.startswith('https://') or url.startswith('http://'):
return url
config = getConfig()
return '%s%s' % (config.uihome, url)
def get_user_data_path(self): def get_user_data_path(self):
if platform == 'android': if platform == 'android':
# Environment = autoclass('android.os.Environment') # Environment = autoclass('android.os.Environment')