mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Hide OverlayStatusController implementation
This commit is contained in:
parent
2744880667
commit
d1e57a24bb
11 changed files with 31 additions and 15 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue