From 8922ab62415df4287a56233c670d8f9538beb921 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 26 Nov 2020 18:35:20 +0530 Subject: [PATCH] hotfix: giphy --- lib/src/full_screen_image.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/full_screen_image.dart b/lib/src/full_screen_image.dart index 4ddc8513..ba2b56bf 100644 --- a/lib/src/full_screen_image.dart +++ b/lib/src/full_screen_image.dart @@ -78,7 +78,8 @@ class _FullScreenMediaState extends State }); }, itemBuilder: (context, position) { - if (widget.mediaAttachments[position].type == 'image') { + print(widget.mediaAttachments[position].type); + if (widget.mediaAttachments[position].type == 'image' || widget.mediaAttachments[position].type == 'giphy') { return PhotoView( imageProvider: CachedNetworkImageProvider( widget.mediaAttachments[position].imageUrl ??