Fix build

This commit is contained in:
Ilya Laktyushin 2023-11-22 14:45:34 +04:00
parent f7f1478188
commit a5b5b58687

View File

@ -4514,7 +4514,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
|> afterCompleted { [weak self] in |> afterCompleted { [weak self] in
Queue.mainQueue().async { Queue.mainQueue().async {
if let self { if let self {
self.present(UndoOverlayController(presentationData: presentationData, content: .succeed(text: presentationData.strings.Chat_SimilarChannels_JoinedChannel(peer.compactDisplayTitle).string, timeout: nil, customUndoText: nil), elevatedLayout: false, position: .top animateInAsReplacement: false, action: { _ in return false }), in: .current) self.present(UndoOverlayController(presentationData: presentationData, content: .succeed(text: presentationData.strings.Chat_SimilarChannels_JoinedChannel(peer.compactDisplayTitle).string, timeout: nil, customUndoText: nil), elevatedLayout: false, position: .top, animateInAsReplacement: false, action: { _ in return false }), in: .current)
} }
} }
} }