From c820b7284e837b541a40336ae1e9c959997cce9e Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 4 Dec 2020 01:43:55 +0000 Subject: [PATCH] Fix build --- submodules/TelegramCallsUI/Sources/VoiceChatController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCallsUI/Sources/VoiceChatController.swift b/submodules/TelegramCallsUI/Sources/VoiceChatController.swift index d108245bf2..94995e0332 100644 --- a/submodules/TelegramCallsUI/Sources/VoiceChatController.swift +++ b/submodules/TelegramCallsUI/Sources/VoiceChatController.swift @@ -559,7 +559,7 @@ public final class VoiceChatController: ViewController { case .bot: text = presentationData.strings.Login_UnknownError } - strongSelf.controller?.present(textAlertController(context: context, title: nil, text: text, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_OK, action: {})]), in: .window(.root)) + strongSelf.controller?.present(textAlertController(context: strongSelf.context, title: nil, text: text, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_OK, action: {})]), in: .window(.root)) })) } })