mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fix the mute/unmute button
This commit is contained in:
parent
38f59dfb39
commit
e254f456ac
1 changed files with 2 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ Rectangle {
|
|||
DialerIconButton {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
source: dialer.state == "incoming" ? "call-start" : (manager.muteMicrophone ? "audio-volume-high" : "audio-volume-muted")
|
||||
source: dialer.state == "incoming" ? "call-start" : (manager.isMicrophoneMuted ? "audio-volume-high" : "audio-volume-muted")
|
||||
Rectangle {
|
||||
z: -1
|
||||
color: dialer.state == "incoming" ? "green" : "white"
|
||||
|
|
@ -249,7 +249,7 @@ Rectangle {
|
|||
manager.activeVoiceCall.answer();
|
||||
}
|
||||
} else {
|
||||
manager.setMuteMicrophone(manager.muteMicrophone ? false : true);
|
||||
manager.isMicrophoneMuted = !manager.isMicrophoneMuted;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue