Hide the "Decrypting" message before asking for passphrase
This commit is contained in:
parent
4ca6c39174
commit
885319e2e1
1 changed files with 6 additions and 0 deletions
|
|
@ -355,9 +355,15 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
|
|||
textField.text = ""
|
||||
textField.isSecureTextEntry = true
|
||||
})
|
||||
// hide it so that alert is on the top of the view
|
||||
SVProgressHUD.dismiss()
|
||||
self.present(alert, animated: true, completion: nil)
|
||||
}
|
||||
let _ = sem.wait(timeout: DispatchTime.distantFuture)
|
||||
DispatchQueue.main.async {
|
||||
// bring back
|
||||
SVProgressHUD.show(withStatus: "Decrypting")
|
||||
}
|
||||
if Defaults[.isRememberPassphraseOn] {
|
||||
self.passwordStore.pgpKeyPassphrase = passphrase
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue