mirror of
https://github.com/twofas/2fas-ios.git
synced 2024-11-22 02:10:19 +01:00
v5.3.5 Possible fix for crash
This commit is contained in:
parent
b73f9870fd
commit
6b8d79c488
@ -60,7 +60,7 @@ extension RootViewController: RootViewControlling {
|
||||
HUDNotification.presentSuccess(title: T.Notifications.tokenCopied)
|
||||
}
|
||||
|
||||
if UIApplication.keyWindow != nil {
|
||||
if UIApplication.keyWindow != nil && view != nil {
|
||||
flashNotification()
|
||||
} else {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(1)) {
|
||||
|
Loading…
Reference in New Issue
Block a user