v5.3.5 Possible fix for crash

This commit is contained in:
Zbigniew Cisiński 2024-03-18 23:39:59 +01:00
parent b73f9870fd
commit 6b8d79c488

View File

@ -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)) {