fix: video thumbnails on web null error

This commit is contained in:
Gordon Hayes
2022-11-25 11:52:04 +01:00
parent ddd8310b96
commit 0db682ac86
7 changed files with 26 additions and 13 deletions
@@ -219,8 +219,8 @@ class _StreamGalleryFooterState extends State<StreamGalleryFooter> {
child: AspectRatio(
aspectRatio: 1,
child: StreamVideoThumbnailImage(
video: (attachment.file?.path ??
attachment.assetUrl)!,
video:
attachment.file?.path ?? attachment.assetUrl,
),
),
),