mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix overlay
This commit is contained in:
parent
0b59cd2864
commit
81e248889d
1 changed files with 3 additions and 1 deletions
|
|
@ -792,7 +792,7 @@ private final class ChatFolderLinkPreviewScreenComponent: Component {
|
|||
|
||||
var chatListController: ChatListController?
|
||||
if let navigationController = controller.navigationController as? NavigationController {
|
||||
for viewController in navigationController.viewControllers {
|
||||
for viewController in navigationController.viewControllers.reversed() {
|
||||
if let rootController = viewController as? TabBarController {
|
||||
for c in rootController.controllers {
|
||||
if let c = c as? ChatListController {
|
||||
|
|
@ -804,6 +804,8 @@ private final class ChatFolderLinkPreviewScreenComponent: Component {
|
|||
chatListController = c
|
||||
break
|
||||
}
|
||||
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue