Fix start recording

This commit is contained in:
Ali
2021-03-12 21:01:09 +04:00
parent 2d1c7295ad
commit 0a71c7d473

View File

@@ -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 })