mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Attachment menu improvements
This commit is contained in:
@@ -174,6 +174,13 @@ open class ItemListController: ViewController, KeyShortcutResponder, Presentable
|
||||
}
|
||||
}
|
||||
|
||||
public var visibleBottomContentOffset: ListViewVisibleContentOffset {
|
||||
if self.isNodeLoaded {
|
||||
return (self.displayNode as! ItemListControllerNode).listNode.visibleBottomContentOffset()
|
||||
} else {
|
||||
return .unknown
|
||||
}
|
||||
}
|
||||
public var visibleBottomContentOffsetChanged: ((ListViewVisibleContentOffset) -> Void)? {
|
||||
didSet {
|
||||
if self.isNodeLoaded {
|
||||
|
||||
Reference in New Issue
Block a user