Fix HPasswordPopup valid/wrong icon color

This commit is contained in:
miruka 2019-09-08 12:19:40 -04:00
parent aae26672de
commit d547df62fb

View File

@ -73,8 +73,11 @@ HOkCancelPopup {
} }
HIcon { HIcon {
svgName: passwordValid ? "ok" : "cancel"
visible: Layout.preferredWidth > 0 visible: Layout.preferredWidth > 0
svgName: passwordValid ? "ok" : "cancel"
colorize: passwordValid ?
theme.colors.positiveBackground :
theme.colors.negativeBackground
Layout.preferredWidth: Layout.preferredWidth:
passwordValid == null || passwordValid == null ||