feat(Modules/LockScreen): divert PAM messages to user (eg: to notify the user about fingerprint reader)
This commit is contained in:
parent
4265290a0f
commit
b9ae772987
2 changed files with 6 additions and 2 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: {
|
||||
|
|
@ -47,6 +48,8 @@ Scope {
|
|||
|
||||
if (messageIsError) {
|
||||
errorMessage = message
|
||||
} else {
|
||||
infoMessage = message
|
||||
}
|
||||
|
||||
if (responseRequired) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue