hotfix: giphy
This commit is contained in:
@@ -78,7 +78,8 @@ class _FullScreenMediaState extends State<FullScreenMedia>
|
||||
});
|
||||
},
|
||||
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 ??
|
||||
|
||||
Reference in New Issue
Block a user