From 4ee9623033a1a08a5ebd36f18ecf5a74b2cecf31 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 8 Nov 2025 00:14:57 +0100 Subject: [PATCH] Request microphone permission on voice calls enable --- sbapp/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sbapp/main.py b/sbapp/main.py index 8b320e3..aabe9ab 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -3529,8 +3529,10 @@ class SidebandApp(MDApp): self.sideband.config["voice_enabled"] = self.settings_screen.ids.settings_voice_enabled.active self.sideband.save_configuration() - if self.sideband.config["voice_enabled"] == True: self.sideband.start_voice() - else: self.sideband.stop_voice() + if self.sideband.config["voice_enabled"] == True: + self.request_microphone_permission() + self.sideband.start_voice() + else: self.sideband.stop_voice() def save_print_command(sender=None, event=None): if not sender.focus: