mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-05 21:15:38 -05:00
media: change icon for player volume
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
[](https://github.com/AvengeMedia/DankMaterialShell/releases)
|
[](https://github.com/AvengeMedia/DankMaterialShell/releases)
|
||||||
[](https://aur.archlinux.org/packages/dms-shell-bin)
|
[](https://aur.archlinux.org/packages/dms-shell-bin)
|
||||||
[)](https://aur.archlinux.org/packages/dms-shell-git)
|
[)](https://aur.archlinux.org/packages/dms-shell-git)
|
||||||
[](https://ko-fi.com/avengemediallc)
|
[](https://ko-fi.com/danklinux)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -179,6 +179,12 @@ Item {
|
|||||||
|
|
||||||
const volume = currentVolume;
|
const volume = currentVolume;
|
||||||
|
|
||||||
|
if (usePlayerVolume) {
|
||||||
|
if (volume === 0.0)
|
||||||
|
return "music_off";
|
||||||
|
return "music_note";
|
||||||
|
}
|
||||||
|
|
||||||
if (volume === 0.0)
|
if (volume === 0.0)
|
||||||
return "volume_off";
|
return "volume_off";
|
||||||
if (volume <= 0.33)
|
if (volume <= 0.33)
|
||||||
|
|||||||
Reference in New Issue
Block a user