Various improvements

This commit is contained in:
Ilya Laktyushin
2022-07-06 13:00:49 +02:00
parent a8bf32fa45
commit e16bef63e7
7 changed files with 127 additions and 58 deletions

View File

@@ -176,7 +176,7 @@ open class ViewControllerComponentContainer: ViewController {
private let component: AnyComponent<ViewControllerComponentContainer.Environment>
private var presentationDataDisposable: Disposable?
private var validLayout: ContainerViewLayout?
public private(set) var validLayout: ContainerViewLayout?
public init<C: Component>(context: AccountContext, component: C, navigationBarAppearance: NavigationBarAppearance, statusBarStyle: StatusBarStyle = .default, theme: PresentationTheme? = nil) where C.EnvironmentType == ViewControllerComponentContainer.Environment {
self.context = context