Merge pull request #229 from matejc/main
Fix for fingerprint flow on lock screen
This commit is contained in:
commit
d80f923802
2 changed files with 6 additions and 8 deletions
|
|
@ -12,6 +12,7 @@ Scope {
|
|||
property bool unlockInProgress: false
|
||||
property bool showFailure: false
|
||||
property string errorMessage: ""
|
||||
property string infoMessage: ""
|
||||
property bool pamAvailable: typeof PamContext !== "undefined"
|
||||
|
||||
onCurrentTextChanged: {
|
||||
|
|
@ -28,12 +29,6 @@ Scope {
|
|||
return
|
||||
}
|
||||
|
||||
if (currentText === "") {
|
||||
errorMessage = "Password required"
|
||||
showFailure = true
|
||||
return
|
||||
}
|
||||
|
||||
root.unlockInProgress = true
|
||||
errorMessage = ""
|
||||
showFailure = false
|
||||
|
|
@ -52,6 +47,8 @@ Scope {
|
|||
|
||||
if (messageIsError) {
|
||||
errorMessage = message
|
||||
} else {
|
||||
infoMessage = message
|
||||
}
|
||||
|
||||
if (responseRequired) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue