Fix build

This commit is contained in:
Ali 2020-12-04 01:43:55 +00:00
parent b08e5eb0cf
commit c820b7284e

View File

@ -559,7 +559,7 @@ public final class VoiceChatController: ViewController {
case .bot: case .bot:
text = presentationData.strings.Login_UnknownError 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))
})) }))
} }
}) })