From 0a71c7d473cd26f5ee860640cacde88ca823756c Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 12 Mar 2021 21:01:09 +0400 Subject: [PATCH] Fix start recording --- 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 5052e0139a..694c1b3a99 100644 --- a/submodules/TelegramCallsUI/Sources/VoiceChatController.swift +++ b/submodules/TelegramCallsUI/Sources/VoiceChatController.swift @@ -1797,7 +1797,7 @@ public final class VoiceChatController: ViewController { } let controller = voiceChatTitleEditController(sharedContext: strongSelf.context.sharedContext, account: strongSelf.context.account, forceTheme: strongSelf.darkTheme, title: presentationData.strings.VoiceChat_StartRecordingTitle, text: presentationData.strings.VoiceChat_StartRecordingText, placeholder: presentationData.strings.VoiceChat_RecordingTitlePlaceholder, value: nil, apply: { title in - if let strongSelf = self, let title = title { + if let strongSelf = self { strongSelf.call.setShouldBeRecording(true, title: title) strongSelf.presentUndoOverlay(content: .voiceChatRecording(text: strongSelf.presentationData.strings.VoiceChat_RecordingStarted), action: { _ in return false })