Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
uclaros committed Apr 18, 2024
1 parent c4b4279 commit 7db979d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/qml/inputs/MMPasswordInput.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ MMPrivateComponents.MMBaseSingleLineInput {

textField.echoMode: eyeButton.pressed ? TextInput.Normal : TextInput.Password

textField.inputMethodHints: textField.inputMethodHints | Qt.ImhNoAutoUppercase
textField.inputMethodHints: Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase | Qt.ImhSensitiveData | Qt.ImhHiddenText

rightContent: MMComponents.MMIcon {
id: eyeButton
Expand All @@ -26,7 +26,7 @@ MMPrivateComponents.MMBaseSingleLineInput {

size: __style.icon24
source: pressed ? __style.hideIcon : __style.showIcon
color: root.enabled ? __style.forestColor : __style.mediumGreenColor
color: root.editState === "enabled" ? __style.forestColor : __style.mediumGreenColor
}

onRightContentClicked: eyeButton.pressed = !eyeButton.pressed
Expand Down

0 comments on commit 7db979d

Please sign in to comment.