mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Web app improvements
This commit is contained in:
@@ -447,7 +447,9 @@ public class BrowserScreen: ViewController {
|
||||
guard let controller = self.controller, let navigationController = controller.navigationController as? NavigationController else {
|
||||
return
|
||||
}
|
||||
navigationController.minimizeViewController(controller, damping: nil, setupContainer: { [weak self] current in
|
||||
navigationController.minimizeViewController(controller, damping: nil, beforeMaximize: { _, completion in
|
||||
completion()
|
||||
}, setupContainer: { [weak self] current in
|
||||
let minimizedContainer: MinimizedContainerImpl?
|
||||
if let current = current as? MinimizedContainerImpl {
|
||||
minimizedContainer = current
|
||||
|
||||
Reference in New Issue
Block a user