mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-19 12:10:55 +00:00
Fix overlay
This commit is contained in:
parent
0b59cd2864
commit
81e248889d
@ -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…
x
Reference in New Issue
Block a user