Adjusted timing

This commit is contained in:
Mark Qvist 2022-09-14 22:09:58 +02:00
parent 4b819238a3
commit 64522ba1c3
3 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ class SidebandApp(MDApp):
self.root.ids.screen_manager.app = self self.root.ids.screen_manager.app = self
self.root.ids.app_version_info.text = "Sideband v"+__version__+" "+__variant__ self.root.ids.app_version_info.text = "Sideband v"+__version__+" "+__variant__
Clock.schedule_once(self.start_core, 3) Clock.schedule_once(self.start_core, 3.5)
# Part of the focus hack fix # Part of the focus hack fix
def android_focus_fix(self, sender, val): def android_focus_fix(self, sender, val):

View File

@ -120,7 +120,7 @@ class SidebandCore():
RNS.Transport.register_announce_handler(self) RNS.Transport.register_announce_handler(self)
RNS.Transport.register_announce_handler(self.propagation_detector) RNS.Transport.register_announce_handler(self.propagation_detector)
def __init_config(self): def __init_config(self):
RNS.log("Creating new Sideband configuration...") RNS.log("Creating new Sideband configuration...")

View File

@ -39,6 +39,7 @@ class Announces():
def update(self): def update(self):
self.clear_list() self.clear_list()
self.announces = self.app.sideband.list_announces() self.announces = self.app.sideband.list_announces()
self.update_widget() self.update_widget()
self.app.flag_new_announces = False self.app.flag_new_announces = False
@ -97,7 +98,6 @@ class Announces():
disp_name = "Unknown Announce" disp_name = "Unknown Announce"
iconl = IconLeftWidget(icon="progress-question") iconl = IconLeftWidget(icon="progress-question")
item = OneLineAvatarIconListItem(text=time_string+": "+disp_name, on_release=gen_info(time_string, context_dest, a_data, dest_type)) item = OneLineAvatarIconListItem(text=time_string+": "+disp_name, on_release=gen_info(time_string, context_dest, a_data, dest_type))
item.add_widget(iconl) item.add_widget(iconl)
item.sb_uid = context_dest item.sb_uid = context_dest