diff --git a/Telegram-iOS/AppDelegate.swift b/Telegram-iOS/AppDelegate.swift index 28e31009ca..fba870de05 100644 --- a/Telegram-iOS/AppDelegate.swift +++ b/Telegram-iOS/AppDelegate.swift @@ -1065,6 +1065,12 @@ private final class SharedApplicationContext { BITHockeyManager.shared().start() BITHockeyManager.shared().authenticator.authenticateInstallation() } + + NotificationCenter.default.addObserver(forName: NSNotification.Name.UIWindowDidBecomeHidden, object: nil, queue: nil, using: { notification in + if UIApplication.shared.isStatusBarHidden { + UIApplication.shared.setStatusBarHidden(false, with: .none) + } + }) return true }