mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 08:18:34 +00:00
feat(GODT-2996): set password fields to hidden when resetting the login form.
This commit is contained in:
@ -114,6 +114,9 @@ FocusScope {
|
|||||||
function getText(start, end) {
|
function getText(start, end) {
|
||||||
control.getText(start, end);
|
control.getText(start, end);
|
||||||
}
|
}
|
||||||
|
function hidePassword() {
|
||||||
|
eyeButton.checked = false;
|
||||||
|
}
|
||||||
function insert(position, text) {
|
function insert(position, text) {
|
||||||
control.insert(position, text);
|
control.insert(position, text);
|
||||||
}
|
}
|
||||||
@ -147,6 +150,9 @@ FocusScope {
|
|||||||
function selectWord() {
|
function selectWord() {
|
||||||
control.selectWord();
|
control.selectWord();
|
||||||
}
|
}
|
||||||
|
function showPassword() {
|
||||||
|
eyeButton.checked = true;
|
||||||
|
}
|
||||||
function undo() {
|
function undo() {
|
||||||
control.undo();
|
control.undo();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -44,6 +44,8 @@ FocusScope {
|
|||||||
} else {
|
} else {
|
||||||
passwordTextField.forceActiveFocus();
|
passwordTextField.forceActiveFocus();
|
||||||
}
|
}
|
||||||
|
passwordTextField.hidePassword();
|
||||||
|
secondPasswordTextField.hidePassword();
|
||||||
}
|
}
|
||||||
|
|
||||||
StackLayout {
|
StackLayout {
|
||||||
|
|||||||
Reference in New Issue
Block a user