Icons: huge cleanup

This commit is contained in:
LemmyCook 2025-09-08 22:05:57 -04:00
parent ccdb4e0664
commit 1f8c55d581
53 changed files with 155 additions and 174 deletions

View file

@ -19,13 +19,13 @@ NIconButton {
function profileIcon() {
if (!hasPP)
return Bootstrap.icons["yin-yang"]
return "yin-yang"
if (powerProfiles.profile === PowerProfile.Performance)
return Bootstrap.icons["speedometer2"]
return "speedometer2"
if (powerProfiles.profile === PowerProfile.Balanced)
return Bootstrap.icons["yin-yang"]
return "yin-yang"
if (powerProfiles.profile === PowerProfile.PowerSaver)
return Bootstrap.icons["leaf"]
return "leaf"
}
function profileName() {
@ -57,4 +57,4 @@ NIconButton {
colorBorder: Color.transparent
colorBorderHover: Color.transparent
onClicked: root.changeProfile()
}
}