mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various improvements
This commit is contained in:
@@ -4107,12 +4107,11 @@ extension ChatControllerImpl {
|
||||
)
|
||||
self.push(boostController)
|
||||
})
|
||||
}, updateVideoTrimRange: { [weak self] start, end, updatedEnd, apply in
|
||||
if let videoRecorder = self?.videoRecorderValue {
|
||||
videoRecorder.updateTrimRange(start: start, end: end, updatedEnd: updatedEnd, apply: apply)
|
||||
} else if let audioRecorder = self?.audioRecorderValue {
|
||||
audioRecorder.updateTrimRange(start: start, end: end, updatedEnd: updatedEnd, apply: apply)
|
||||
}, updateRecordingTrimRange: { [weak self] start, end, updatedEnd, apply in
|
||||
guard let self else {
|
||||
return
|
||||
}
|
||||
self.updateTrimRange(start: start, end: end, updatedEnd: updatedEnd, apply: apply)
|
||||
}, updateHistoryFilter: { [weak self] update in
|
||||
guard let self else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user