mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
Use volume_mute icon for volume==0 (#1150)
This commit is contained in:
@@ -42,8 +42,10 @@ Row {
|
||||
let volume = defaultSink.audio.volume;
|
||||
let muted = defaultSink.audio.muted;
|
||||
|
||||
if (muted || volume === 0.0)
|
||||
if (muted)
|
||||
return "volume_off";
|
||||
if (volume === 0.0)
|
||||
return "volume_mute";
|
||||
if (volume <= 0.33)
|
||||
return "volume_down";
|
||||
if (volume <= 0.66)
|
||||
|
||||
Reference in New Issue
Block a user