From 04a0480003e01ef1369112a81c0a42b460d90db6 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Wed, 4 Dec 2024 16:31:06 +0700 Subject: [PATCH] Make the text field 'show password' eye theme friendly --- src/qml/imports/Theme/QfTextField.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qml/imports/Theme/QfTextField.qml b/src/qml/imports/Theme/QfTextField.qml index b0af402750..3c54a72586 100644 --- a/src/qml/imports/Theme/QfTextField.qml +++ b/src/qml/imports/Theme/QfTextField.qml @@ -35,6 +35,7 @@ TextField { z: 1 visible: !!textField.echoMode && textField.echoMode !== TextInput.Normal iconSource: textField.echoMode === TextInput.Normal ? Theme.getThemeVectorIcon('ic_hide_green_48dp') : Theme.getThemeVectorIcon('ic_show_green_48dp') + iconColor: Theme.mainColor anchors.right: textField.right anchors.verticalCenter: textField.verticalCenter opacity: textField.text.length > 0 ? 1 : 0.25