Added voice call service base

This commit is contained in:
Mark Qvist 2025-03-09 14:29:02 +01:00
parent 902e1c5451
commit a0a03c9eba
5 changed files with 380 additions and 3 deletions

View file

@ -96,6 +96,16 @@ MDNavigationLayout:
IconLeftWidget:
icon: "account-voice"
on_release: root.ids.screen_manager.app.announces_action(self)
OneLineIconListItem:
text: "Voice"
on_release: root.ids.screen_manager.app.voice_action(self)
# _no_ripple_effect: True
IconLeftWidget:
icon: "phone-in-talk"
on_release: root.ids.screen_manager.app.voice_action(self)
# OneLineIconListItem:
@ -1790,7 +1800,7 @@ MDScreen:
height: dp(48)
MDLabel:
text: "Use high-quality voice for PTT"
text: "High-quality codec for LXMF PTT"
font_style: "H6"
MDSwitch:
@ -1799,6 +1809,22 @@ MDScreen:
disabled: False
active: False
MDBoxLayout:
orientation: "horizontal"
size_hint_y: None
padding: [0,0,dp(24),dp(0)]
height: dp(48)
MDLabel:
text: "Enable voice calls"
font_style: "H6"
MDSwitch:
id: settings_voice_enabled
pos_hint: {"center_y": 0.3}
disabled: False
active: False
# MDBoxLayout:
# orientation: "horizontal"
# size_hint_y: None