lock screen: fix incorrect password text

This commit is contained in:
end-4
2025-08-11 15:07:47 +07:00
parent 7f1699663d
commit ea70c354ad
4 changed files with 9 additions and 11 deletions
@@ -283,8 +283,8 @@ Variants {
Behavior on opacity {
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
}
text: "Enter password"
color: CF.ColorUtils.transparentize(bgRoot.colText, 0.3)
text: GlobalStates.screenUnlockFailed ? Translation.tr("Incorrect password") : Translation.tr("Enter password")
color: GlobalStates.screenUnlockFailed ? Appearance.colors.colError : bgRoot.colText
font {
pixelSize: Appearance.font.pixelSize.normal
}