mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Apply patch
This commit is contained in:
parent
4ba9de05fd
commit
bb974d4cc1
@ -60,8 +60,12 @@ final class InstantVideoController: LegacyController, StandalonePresentableContr
|
||||
self?.durationValue.set(duration)
|
||||
}
|
||||
captureController.onDismiss = { [weak self] _, isCancelled in
|
||||
guard let strongSelf = self else { return }
|
||||
if !strongSelf.dismissedVideo {
|
||||
self?.dismissedVideo = true
|
||||
self?.onDismiss?(isCancelled)
|
||||
}
|
||||
}
|
||||
captureController.onStop = { [weak self] in
|
||||
self?.onStop?()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user