mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Video avatar fixes
This commit is contained in:
@@ -1012,7 +1012,9 @@ static CGPoint TGCameraControllerClampPointToScreenSize(__unused id self, __unus
|
||||
TGCameraCapturedVideo *capturedVideo = [[TGCameraCapturedVideo alloc] initWithURL:outputURL];
|
||||
if (strongSelf->_intent == TGCameraControllerAvatarIntent || strongSelf->_intent == TGCameraControllerSignupAvatarIntent)
|
||||
{
|
||||
[strongSelf presentPhotoResultControllerWithImage:capturedVideo metadata:nil completion:^{}];
|
||||
[strongSelf presentPhotoResultControllerWithImage:capturedVideo metadata:nil completion:^{
|
||||
[strongSelf->_interfaceView setRecordingVideo:false animated:true];
|
||||
}];
|
||||
} else {
|
||||
[strongSelf addResultItem:capturedVideo];
|
||||
if (![strongSelf maybePresentResultControllerForItem:capturedVideo completion:nil])
|
||||
|
||||
Reference in New Issue
Block a user