fix(btsubtab): fix alpha on ntexts

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2026-03-21 13:12:28 +01:00
parent b9a02cccc7
commit 0261f73943
@@ -444,7 +444,7 @@ Item {
}
visible: text !== ""
pointSize: Style.fontSizeXS
color: Qt.alpah(device.getContentColors([Color.mSurfaceVariant, Color.mOnSurfaceVariant])[1], Style.opacityHeavy)
color: Qt.alpha(device.getContentColors([Color.mSurfaceVariant, Color.mOnSurfaceVariant])[1], Style.opacityHeavy)
}
RowLayout {
@@ -456,7 +456,7 @@ Item {
return BatteryService.getIcon(b !== null ? b : 0, false, false, b !== null);
}
pointSize: Style.fontSizeXS
color: Qt.alpah(device.getContentColors()[1], Style.opacityHeavy)
color: Qt.alpha(device.getContentColors()[1], Style.opacityHeavy)
}
NText {
text: {
@@ -464,7 +464,7 @@ Item {
return b === null ? "-" : (b + "%");
}
pointSize: Style.fontSizeXS
color: Qt.alpah(device.getContentColors([Color.mSurfaceVariant, Color.mOnSurfaceVariant])[1], Style.opacityHeavy)
color: Qt.alpha(device.getContentColors([Color.mSurfaceVariant, Color.mOnSurfaceVariant])[1], Style.opacityHeavy)
}
}
}