Show the joined channel codec when legacy voice is unavailable

This commit is contained in:
omar committed 2026-11-27 03:08:06 +03:00
1 parent 827f2c3053
commit 981c486b0c
8 files changed
+82 -5

No files matched your search

+5
View File
@@ -69,6 +69,7 @@ export global ShellBridge {
in-out property <bool> ptt-enabled;
in-out property <string> voice-title;
in-out property <string> voice-status;
in-out property <string> codec-warning;
in-out property <bool> searchable;
in-out property <string> search;
in-out property <bool> has-previous;
@@ -744,6 +745,10 @@ export component ShellScreen inherits Rectangle {
}
}
if ShellBridge.error != "": parity-shell-error := Text { text: ShellBridge.error; color: Theme.error; wrap: word-wrap; accessible-role: text; accessible-label: self.text; }
if ShellBridge.destination == 0 && ShellBridge.codec-warning != "": parity-channel-codec-warning := Text {
text: ShellBridge.codec-warning; color: Theme.warning; wrap: word-wrap;
accessible-role: text; accessible-label: self.text; accessible-live-region: polite;
}
if ShellBridge.loading: Text { text: ShellBridge.label-loading; color: Theme.muted; }
HorizontalLayout {
spacing: 0px;