mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 22:33:08 +00:00
Clear password when the keypad is not shown
This commit is contained in:
parent
30847f710e
commit
b86bfa645e
1 changed files with 6 additions and 5 deletions
|
|
@ -97,11 +97,12 @@ PlasmaCore.ColorScope {
|
|||
flick(0, 1000);
|
||||
}
|
||||
}
|
||||
|
||||
// wipe password at beginning
|
||||
if (atYBeginning) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// wipe password if it is more than half way down the screen
|
||||
onContentYChanged: {
|
||||
if (contentY < columnHeight / 2)
|
||||
root.password = "";
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
|
|
|||
Loading…
Reference in a new issue