forked from Shinonome/dots-hyprland
sidebar: make quick toggle behave more similar to on android
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ AndroidQuickToggleButton {
|
||||
statusText: toggled ? Translation.tr("Unmuted") : Translation.tr("Muted")
|
||||
toggled: !Audio.sink?.audio?.muted
|
||||
buttonIcon: Audio.sink?.audio?.muted ? "volume_off" : "volume_up"
|
||||
onClicked: {
|
||||
mainAction: () => {
|
||||
Audio.sink.audio.muted = !Audio.sink.audio.muted
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user