From d987375d20b4bb810dec464db55126b93efa335b Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Tue, 9 Jun 2020 15:13:23 +0300 Subject: [PATCH] Fix media picker gallery item for photos --- .../Sources/TGMediaPickerModernGalleryMixin.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/LegacyComponents/Sources/TGMediaPickerModernGalleryMixin.m b/submodules/LegacyComponents/Sources/TGMediaPickerModernGalleryMixin.m index a5f4585265..445bf65b70 100644 --- a/submodules/LegacyComponents/Sources/TGMediaPickerModernGalleryMixin.m +++ b/submodules/LegacyComponents/Sources/TGMediaPickerModernGalleryMixin.m @@ -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;