mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Hide OverlayStatusController implementation
This commit is contained in:
@@ -133,7 +133,7 @@ public enum OverlayStatusControllerStyle {
|
||||
case dark
|
||||
}
|
||||
|
||||
public final class OverlayStatusController: ViewController, StandalonePresentableController {
|
||||
private final class OverlayStatusControllerImpl: ViewController, StandalonePresentableController {
|
||||
private let style: OverlayStatusControllerStyle
|
||||
private let type: OverlayStatusControllerType
|
||||
|
||||
@@ -152,7 +152,7 @@ public final class OverlayStatusController: ViewController, StandalonePresentabl
|
||||
self.statusBar.statusBarStyle = .Ignore
|
||||
}
|
||||
|
||||
required init(coder aDecoder: NSCoder) {
|
||||
required public init(coder aDecoder: NSCoder) {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
}
|
||||
|
||||
@@ -183,3 +183,7 @@ public final class OverlayStatusController: ViewController, StandalonePresentabl
|
||||
self.controllerNode.dismiss()
|
||||
}
|
||||
}
|
||||
|
||||
public func OverlayStatusController(style: OverlayStatusControllerStyle, type: OverlayStatusControllerType) -> ViewController {
|
||||
return OverlayStatusControllerImpl(style: style, type: type)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user