Clear password when the keypad is not shown

This commit is contained in:
Devin Lin 2020-07-11 23:46:21 -04:00 committed by Bhushan Shah
parent 30847f710e
commit b86bfa645e

View file

@ -97,11 +97,12 @@ PlasmaCore.ColorScope {
flick(0, 1000); flick(0, 1000);
} }
} }
}
// wipe password at beginning // wipe password if it is more than half way down the screen
if (atYBeginning) { onContentYChanged: {
if (contentY < columnHeight / 2)
} root.password = "";
} }
ColumnLayout { ColumnLayout {