Improve ssss result reporting
This commit is contained in:
@@ -35,7 +35,9 @@ FormCard.FormCardPage {
|
|||||||
connection: Controller.activeConnection
|
connection: Controller.activeConnection
|
||||||
onKeyBackupUnlocked: {
|
onKeyBackupUnlocked: {
|
||||||
ssssHandler.processing = false
|
ssssHandler.processing = false
|
||||||
root.closeDialog()
|
banner.text = i18nc("@info:status", "Encryption keys restored.")
|
||||||
|
banner.type = Kirigami.MessageType.Positive
|
||||||
|
banner.visible = true
|
||||||
}
|
}
|
||||||
onError: error => {
|
onError: error => {
|
||||||
if (error !== SSSSHandler.WrongKeyError) {
|
if (error !== SSSSHandler.WrongKeyError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user