more intuitive power profiles icons

This commit is contained in:
end-4 2025-08-07 22:01:05 +07:00
parent 733a792610
commit 4f40ba8e6e
2 changed files with 3 additions and 4 deletions

View file

@ -129,9 +129,9 @@ Item {
horizontalAlignment: Qt.AlignHCenter
fill: 0
text: switch(PowerProfiles.profile) {
case PowerProfile.PowerSaver: return "battery_saver"
case PowerProfile.Balanced: return "dynamic_form"
case PowerProfile.Performance: return "speed"
case PowerProfile.PowerSaver: return "energy_savings_leaf"
case PowerProfile.Balanced: return "settings_slow_motion"
case PowerProfile.Performance: return "local_fire_department"
}
iconSize: Appearance.font.pixelSize.large
color: Appearance.colors.colOnLayer2

View file

@ -46,7 +46,6 @@ ApiStrategy {
// Real stuff
try {
const dataJson = JSON.parse(cleanData);
console.log(JSON.stringify(dataJson, null, 2));
let newContent = "";
const responseContent = dataJson.choices[0]?.delta?.content || dataJson.message?.content;