mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix websites and recent sessions layout
This commit is contained in:
@@ -115,6 +115,8 @@ open class ItemListController: ViewController, KeyShortcutResponder, Presentable
|
||||
|
||||
private var validLayout: ContainerViewLayout?
|
||||
|
||||
public var additionalInsets: UIEdgeInsets = UIEdgeInsets()
|
||||
|
||||
private var didPlayPresentationAnimation = false
|
||||
public private(set) var didAppearOnce = false
|
||||
public var didAppear: ((Bool) -> Void)?
|
||||
@@ -459,7 +461,7 @@ open class ItemListController: ViewController, KeyShortcutResponder, Presentable
|
||||
|
||||
self.validLayout = layout
|
||||
|
||||
(self.displayNode as! ItemListControllerNode).containerLayoutUpdated(layout, navigationBarHeight: self.navigationInsetHeight, transition: transition)
|
||||
(self.displayNode as! ItemListControllerNode).containerLayoutUpdated(layout, navigationBarHeight: self.navigationInsetHeight, transition: transition, additionalInsets: self.additionalInsets)
|
||||
}
|
||||
|
||||
@objc func leftNavigationButtonPressed() {
|
||||
|
||||
Reference in New Issue
Block a user