mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-20 04:24:41 +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?
|
var chatListController: ChatListController?
|
||||||
if let navigationController = controller.navigationController as? NavigationController {
|
if let navigationController = controller.navigationController as? NavigationController {
|
||||||
for viewController in navigationController.viewControllers {
|
for viewController in navigationController.viewControllers.reversed() {
|
||||||
if let rootController = viewController as? TabBarController {
|
if let rootController = viewController as? TabBarController {
|
||||||
for c in rootController.controllers {
|
for c in rootController.controllers {
|
||||||
if let c = c as? ChatListController {
|
if let c = c as? ChatListController {
|
||||||
@ -804,6 +804,8 @@ private final class ChatFolderLinkPreviewScreenComponent: Component {
|
|||||||
chatListController = c
|
chatListController = c
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user