Various improvements

This commit is contained in:
Isaac
2025-09-19 15:36:36 +04:00
parent 1d5de1be39
commit d4a4305f5b
21 changed files with 417 additions and 238 deletions

View File

@@ -5676,7 +5676,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
}
})
if let videoRecorder = videoRecorder {
if let videoRecorder {
strongSelf.recorderFeedback?.impact(.light)
videoRecorder.onStop = {
@@ -5684,6 +5684,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
strongSelf.dismissMediaRecorder(.pause)
}
}
strongSelf.chatDisplayNode.setVideoRecorder(backgroundView: videoRecorder.backgroundView)
strongSelf.present(videoRecorder, in: .window(.root))
if strongSelf.lockMediaRecordingRequestId == strongSelf.beginMediaRecordingRequestId {