Fix Storage Usage presentation from Clear Cache suggestion popup

This commit is contained in:
Ilya Laktyushin
2019-11-08 17:31:52 +04:00
parent 840b3cf22a
commit 4c1ea3b5c6
2 changed files with 7 additions and 5 deletions

View File

@@ -933,6 +933,9 @@ public func storageUsageController(context: AccountContext, cacheUsagePromise: P
}
let controller = ItemListController(context: context, state: signal)
if isModal {
controller.navigationPresentation = .modal
}
presentControllerImpl = { [weak controller] c, contextType, a in
controller?.present(c, in: contextType, with: a)
}