From afac32285989c3bfab74f11113134908b3679062 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 8 Dec 2024 12:45:50 +0100 Subject: [PATCH] Enable icon display by default --- sbapp/main.py | 2 ++ sbapp/sideband/core.py | 6 +++--- sbapp/ui/utilities.py | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sbapp/main.py b/sbapp/main.py index 5b8c918..edc0c79 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -1406,6 +1406,8 @@ class SidebandApp(MDApp): self.close_sub_telemetry_action() elif self.root.ids.screen_manager.current == "rnstatus_screen": self.close_sub_utilities_action() + elif self.root.ids.screen_manager.current == "logviewer_screen": + self.close_sub_utilities_action() else: self.open_conversations(direction="right") diff --git a/sbapp/sideband/core.py b/sbapp/sideband/core.py index 8d3df28..b2016b4 100644 --- a/sbapp/sideband/core.py +++ b/sbapp/sideband/core.py @@ -544,7 +544,7 @@ class SidebandCore(): if not "eink_mode" in self.config: self.config["eink_mode"] = False 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: self.config["lxm_limit_1mb"] = True if not "hq_ptt" in self.config: @@ -676,11 +676,11 @@ class SidebandCore(): if not "telemetry_bg" in self.config: self.config["telemetry_bg"] = SidebandCore.DEFAULT_APPEARANCE[2] 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: self.config["telemetry_display_trusted_only"] = False 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: self.config["telemetry_receive_trusted_only"] = False diff --git a/sbapp/ui/utilities.py b/sbapp/ui/utilities.py index 29e6f93..d1a1c9f 100644 --- a/sbapp/ui/utilities.py +++ b/sbapp/ui/utilities.py @@ -81,7 +81,7 @@ class Utilities(): output = buffer.getvalue() 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) if self.app.root.ids.screen_manager.current == "rnstatus_screen": @@ -114,7 +114,7 @@ class Utilities(): self.logviewer_screen.log_contents = output 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) if self.app.root.ids.screen_manager.current == "logviewer_screen":