mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 13:13:55 +00:00
no message
This commit is contained in:
parent
c7217f3ce7
commit
fe506d65a3
@ -35,6 +35,11 @@ public struct ItemCollectionViewEntryIndex: Comparable {
|
||||
public struct ItemCollectionViewEntry {
|
||||
public let index: ItemCollectionViewEntryIndex
|
||||
public let item: ItemCollectionItem
|
||||
|
||||
public init(index: ItemCollectionViewEntryIndex, item: ItemCollectionItem) {
|
||||
self.index = index
|
||||
self.item = item
|
||||
}
|
||||
}
|
||||
|
||||
private func fetchLowerEntries(namespaces: [ItemCollectionId.Namespace], collectionId: ItemCollectionId, collectionIndex: Int32, itemIndex: ItemCollectionItemIndex, count: Int, lowerCollectionId: (_ namespaceList: [ItemCollectionId.Namespace], _ collectionId: ItemCollectionId, _ collectionIndex: Int32) -> (ItemCollectionId, Int32)?, lowerItems: (_ collectionId: ItemCollectionId, _ itemIndex: ItemCollectionItemIndex, _ count: Int) -> [ItemCollectionItem]) -> [ItemCollectionViewEntry] {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user