mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-12 21:56:44 +00:00
feat(GODT-2161): auto-submit 2FA.
This commit is contained in:
@ -344,7 +344,12 @@ FocusScope {
|
|||||||
if (str.length === 0) {
|
if (str.length === 0) {
|
||||||
return qsTr("Enter the 6-digit code")
|
return qsTr("Enter the 6-digit code")
|
||||||
}
|
}
|
||||||
return
|
}
|
||||||
|
|
||||||
|
onTextChanged: {
|
||||||
|
if (text.length >= 6) {
|
||||||
|
twoFAButton.onClicked()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
|
|||||||
Reference in New Issue
Block a user