mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Use the result count
This commit is contained in:
@@ -84,7 +84,7 @@ final class ViewController: ASViewController, ASTableDataSource, ASTableDelegate
|
||||
}
|
||||
|
||||
ViewController.fetchDataWithCompletion { resultCount in
|
||||
let action = Action.EndBatchFetch(resultCount: 20)
|
||||
let action = Action.EndBatchFetch(resultCount: resultCount)
|
||||
let oldState = self.state
|
||||
self.state = ViewController.handleAction(action, fromState: oldState)
|
||||
self.renderDiff(oldState)
|
||||
|
||||
Reference in New Issue
Block a user