feat: Now compatible with videos
This commit is contained in:
@@ -47,11 +47,9 @@ class ImageAttachment extends StatelessWidget {
|
||||
|
||||
return StreamChannel(
|
||||
channel: channel,
|
||||
child: FullScreenImage(
|
||||
urls: [
|
||||
attachment.imageUrl ??
|
||||
attachment.assetUrl ??
|
||||
attachment.thumbUrl
|
||||
child: FullScreenMedia(
|
||||
mediaAttachments: [
|
||||
attachment,
|
||||
],
|
||||
userName: message.user.name,
|
||||
sentAt: message.createdAt,
|
||||
|
||||
Reference in New Issue
Block a user