Don't load more group participants until the list is expanded

This commit is contained in:
Ilya Laktyushin
2019-11-08 20:32:21 +04:00
parent ffc9dda416
commit 5239728f7c
2 changed files with 20 additions and 6 deletions

View File

@@ -935,6 +935,7 @@ public func storageUsageController(context: AccountContext, cacheUsagePromise: P
let controller = ItemListController(context: context, state: signal)
if isModal {
controller.navigationPresentation = .modal
controller.supportedOrientations = ViewControllerSupportedOrientations(regularSize: .all, compactSize: .portrait)
}
presentControllerImpl = { [weak controller] c, contextType, a in
controller?.present(c, in: contextType, with: a)