Stickers Import Improvements

This commit is contained in:
Ilya Laktyushin
2021-06-14 23:23:11 +03:00
parent 4136c049f6
commit 1c1e44833e
8 changed files with 648 additions and 170 deletions

View File

@@ -68,6 +68,9 @@ public final class ImportStickerPackController: ViewController, StandalonePresen
self.controllerNode.cancel = { [weak self] in
self?.dismiss()
}
self.controllerNode.present = { [weak self] controller, arguments in
self?.present(controller, in: .window(.root), with: arguments)
}
self.controllerNode.presentInGlobalOverlay = { [weak self] controller, arguments in
self?.presentInGlobalOverlay(controller, with: arguments)
}