Fix issue of displying extension

This commit is contained in:
Mingshen Sun 2021-08-31 18:25:40 -07:00
parent 228f06a886
commit d28861448e
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,11 @@ class PasscodeExtensionDisplay {
before?()
passcodeLockVC.successCallback = after
passcodeLockVC.modalPresentationStyle = .fullScreen
sender.parent?.present(passcodeLockVC, animated: false)
sender.parent?.present(passcodeLockVC, animated: false) {
after?()
}
} else {
after?()
}
}
}