Various fixes

This commit is contained in:
Ilya Laktyushin
2023-11-26 20:11:40 +04:00
parent fcee7416e5
commit 6ec58eb9b4
5 changed files with 41 additions and 7 deletions

View File

@@ -10002,6 +10002,9 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
}, presentController: { [weak self] controller, arguments in
self?.present(controller, in: .window(.root), with: arguments)
}, presentControllerInCurrent: { [weak self] controller, arguments in
if controller is UndoOverlayController {
self?.dismissAllTooltips()
}
self?.present(controller, in: .current, with: arguments)
}, getNavigationController: { [weak self] in
return self?.navigationController as? NavigationController