mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Update to iOS 13
This commit is contained in:
@@ -141,7 +141,7 @@ public final class LegacyControllerContext: NSObject, LegacyComponentsContext {
|
||||
}
|
||||
|
||||
public func statusBarFrame() -> CGRect {
|
||||
return legacyComponentsApplication!.statusBarFrame
|
||||
return legacyComponentsApplication!.delegate!.window!?.windowScene!.statusBarManager?.statusBarFrame ?? CGRect()
|
||||
}
|
||||
|
||||
public func isStatusBarHidden() -> Bool {
|
||||
|
||||
Reference in New Issue
Block a user