Icons: WIP using a proper mapping table

This commit is contained in:
LemmyCook 2025-09-08 21:05:48 -04:00
parent 8da2cdf430
commit a4107c87c0
41 changed files with 2277 additions and 183 deletions

View file

@ -43,11 +43,11 @@ Item {
function getIcon() {
if (AudioService.muted) {
return FontService.icons["volume_muted"]
return Bootstrap.icons["volume_muted"]
}
return AudioService.volume
<= Number.EPSILON ? FontService.icons["volume_off"] : (AudioService.volume
< 0.5 ? FontService.icons["volume_half"] : FontService.icons["volume_full"])
<= Number.EPSILON ? Bootstrap.icons["volume_off"] : (AudioService.volume
< 0.5 ? Bootstrap.icons["volume_half"] : Bootstrap.icons["volume_full"])
}
// Connection used to open the pill when volume changes