quicksettings/audio: Close action drawer when opening volume osd

Now that the action drawer no longer takes focus, we need to manually
trigger the action drawer to close when opening the volume osd.
This commit is contained in:
Devin Lin 2024-11-13 18:00:21 -08:00
parent 7245080b22
commit 24d3186834

View file

@ -15,6 +15,7 @@ QS.QuickSetting {
settingsCommand: "plasma-open-settings kcm_pulseaudio"
function toggle() {
MobileShellState.ShellDBusClient.showVolumeOSD()
MobileShellState.ShellDBusClient.closeActionDrawer();
MobileShellState.ShellDBusClient.showVolumeOSD();
}
}