Enable icon display by default

This commit is contained in:
Mark Qvist 2024-12-08 12:45:50 +01:00
parent 9e992c83fd
commit afac322859
3 changed files with 7 additions and 5 deletions

View File

@ -1406,6 +1406,8 @@ class SidebandApp(MDApp):
self.close_sub_telemetry_action() self.close_sub_telemetry_action()
elif self.root.ids.screen_manager.current == "rnstatus_screen": elif self.root.ids.screen_manager.current == "rnstatus_screen":
self.close_sub_utilities_action() self.close_sub_utilities_action()
elif self.root.ids.screen_manager.current == "logviewer_screen":
self.close_sub_utilities_action()
else: else:
self.open_conversations(direction="right") self.open_conversations(direction="right")

View File

@ -544,7 +544,7 @@ class SidebandCore():
if not "eink_mode" in self.config: if not "eink_mode" in self.config:
self.config["eink_mode"] = False self.config["eink_mode"] = False
if not "display_style_in_contact_list" in self.config: if not "display_style_in_contact_list" in self.config:
self.config["display_style_in_contact_list"] = False self.config["display_style_in_contact_list"] = True
if not "lxm_limit_1mb" in self.config: if not "lxm_limit_1mb" in self.config:
self.config["lxm_limit_1mb"] = True self.config["lxm_limit_1mb"] = True
if not "hq_ptt" in self.config: if not "hq_ptt" in self.config:
@ -676,11 +676,11 @@ class SidebandCore():
if not "telemetry_bg" in self.config: if not "telemetry_bg" in self.config:
self.config["telemetry_bg"] = SidebandCore.DEFAULT_APPEARANCE[2] self.config["telemetry_bg"] = SidebandCore.DEFAULT_APPEARANCE[2]
if not "telemetry_send_appearance" in self.config: if not "telemetry_send_appearance" in self.config:
self.config["telemetry_send_appearance"] = False self.config["telemetry_send_appearance"] = True
if not "telemetry_display_trusted_only" in self.config: if not "telemetry_display_trusted_only" in self.config:
self.config["telemetry_display_trusted_only"] = False self.config["telemetry_display_trusted_only"] = False
if not "display_style_from_all" in self.config: if not "display_style_from_all" in self.config:
self.config["display_style_from_all"] = False self.config["display_style_from_all"] = True
if not "telemetry_receive_trusted_only" in self.config: if not "telemetry_receive_trusted_only" in self.config:
self.config["telemetry_receive_trusted_only"] = False self.config["telemetry_receive_trusted_only"] = False

View File

@ -81,7 +81,7 @@ class Utilities():
output = buffer.getvalue() output = buffer.getvalue()
def cb(dt): def cb(dt):
self.rnstatus_screen.ids.rnstatus_output.text = f"[font=RobotoMono-Regular]{output}[/font]" self.rnstatus_screen.ids.rnstatus_output.text = f"[font=RobotoMono-Regular][size={int(dp(12))}]{output}[/size][/font]"
Clock.schedule_once(cb, 0.2) Clock.schedule_once(cb, 0.2)
if self.app.root.ids.screen_manager.current == "rnstatus_screen": if self.app.root.ids.screen_manager.current == "rnstatus_screen":
@ -114,7 +114,7 @@ class Utilities():
self.logviewer_screen.log_contents = output self.logviewer_screen.log_contents = output
def cb(dt): def cb(dt):
self.logviewer_screen.ids.logviewer_output.text = f"[font=RobotoMono-Regular]{output}[/font]" self.logviewer_screen.ids.logviewer_output.text = f"[font=RobotoMono-Regular][size={int(dp(12))}]{output}[/size][/font]"
Clock.schedule_once(cb, 0.2) Clock.schedule_once(cb, 0.2)
if self.app.root.ids.screen_manager.current == "logviewer_screen": if self.app.root.ids.screen_manager.current == "logviewer_screen":