mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-07 05:25:12 +00:00
Fix media picker gallery item for photos
This commit is contained in:
@@ -378,9 +378,9 @@
|
||||
|
||||
default:
|
||||
{
|
||||
if (asset.subtypes & TGMediaAssetSubtypePhotoLive)
|
||||
galleryItem = [[TGMediaPickerGalleryVideoItem alloc] initWithAsset:asset];
|
||||
else
|
||||
// if (asset.subtypes & TGMediaAssetSubtypePhotoLive)
|
||||
// galleryItem = [[TGMediaPickerGalleryVideoItem alloc] initWithAsset:asset];
|
||||
// else
|
||||
galleryItem = [[TGMediaPickerGalleryPhotoItem alloc] initWithAsset:asset];
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user