aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/CloudCredentials.qml21
1 files changed, 1 insertions, 20 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml
index fd667c00c..fb4666348 100644
--- a/mobile-widgets/qml/CloudCredentials.qml
+++ b/mobile-widgets/qml/CloudCredentials.qml
@@ -79,7 +79,7 @@ Item {
TextField {
id: password
text: manager.cloudPassword
- echoMode: TextInput.Password
+ echoMode: TextInput.PasswordEchoOnEdit
inputMethodHints: Qt.ImhSensitiveData |
Qt.ImhHiddenText |
Qt.ImhNoAutoUppercase
@@ -89,25 +89,6 @@ Item {
}
}
- GridLayout {
- columns: 2
-
- Kirigami.Label {
- text: qsTr("Show password")
- Layout.preferredWidth: col1Width
- }
- SsrfSwitch {
- checked: false
- id: showPassword
- Layout.preferredWidth: col2Width
- onCheckedChanged: {
- if (checked)
- password.text = "" // don't show a hidden password
- password.echoMode = checked ? TextInput.Normal : TextInput.Password
- }
- }
- }
-
Kirigami.Label {
text: qsTr("PIN")
visible: rootItem.showPin