From d547df62fb5c2a0859c74cfcc7cce78dfd9279e2 Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 8 Sep 2019 12:19:40 -0400 Subject: [PATCH] Fix HPasswordPopup valid/wrong icon color --- src/qml/Base/HPasswordPopup.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qml/Base/HPasswordPopup.qml b/src/qml/Base/HPasswordPopup.qml index 45e4cf88..0251ed7b 100644 --- a/src/qml/Base/HPasswordPopup.qml +++ b/src/qml/Base/HPasswordPopup.qml @@ -73,8 +73,11 @@ HOkCancelPopup { } HIcon { - svgName: passwordValid ? "ok" : "cancel" visible: Layout.preferredWidth > 0 + svgName: passwordValid ? "ok" : "cancel" + colorize: passwordValid ? + theme.colors.positiveBackground : + theme.colors.negativeBackground Layout.preferredWidth: passwordValid == null ||