mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various improvements
This commit is contained in:
@@ -52,8 +52,12 @@ public final class PresentationContext {
|
||||
return self.view != nil && self.layout != nil
|
||||
}
|
||||
|
||||
public private(set) var controllers: [(ContainableController, PresentationSurfaceLevel)] = []
|
||||
public var controllersUpdated: ([ContainableController]) -> Void = { _ in }
|
||||
public private(set) var controllers: [(ContainableController, PresentationSurfaceLevel)] = [] {
|
||||
didSet {
|
||||
self.controllersUpdated(self.controllers)
|
||||
}
|
||||
}
|
||||
public var controllersUpdated: ([(ContainableController, PresentationSurfaceLevel)]) -> Void = { _ in }
|
||||
|
||||
private var presentationDisposables = DisposableSet()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user