mirror of
https://github.com/markqvist/Sideband.git
synced 2025-11-30 04:06:39 -05:00
Request microphone permission on voice calls enable
This commit is contained in:
parent
0c965d9259
commit
4ee9623033
1 changed files with 4 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue