mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
Media Picker: code cleaning
This commit is contained in:
parent
a6c220ad3f
commit
c55221853e
1 changed files with 2 additions and 1 deletions
|
@ -193,7 +193,8 @@
|
|||
{
|
||||
[self dismissMediaPicker];
|
||||
|
||||
[self sendSelectedVideo:videoURL isPhotoLibraryAsset:YES];
|
||||
BOOL isPhotoLibraryAsset = ![videoURL.path hasPrefix:NSTemporaryDirectory()];
|
||||
[self sendSelectedVideo:videoURL isPhotoLibraryAsset:isPhotoLibraryAsset];
|
||||
}
|
||||
|
||||
#pragma mark - Media picker handling
|
||||
|
|
Loading…
Reference in a new issue