[WIP] Conference calls

This commit is contained in:
Isaac
2025-02-07 15:22:47 +04:00
parent 3e74304640
commit 962ca74101
15 changed files with 395 additions and 155 deletions

View File

@@ -236,7 +236,7 @@ open class ViewControllerComponentContainer: ViewController {
private let context: AccountContext
private var theme: Theme
private let component: AnyComponent<ViewControllerComponentContainer.Environment>
public private(set) var component: AnyComponent<ViewControllerComponentContainer.Environment>
private var presentationDataDisposable: Disposable?
public private(set) var validLayout: ContainerViewLayout?
@@ -387,6 +387,7 @@ open class ViewControllerComponentContainer: ViewController {
}
public func updateComponent(component: AnyComponent<ViewControllerComponentContainer.Environment>, transition: ComponentTransition) {
self.component = component
self.node.updateComponent(component: component, transition: transition)
}
}