fix review

This commit is contained in:
Salvatore Giordano
2021-04-30 15:00:51 +02:00
parent 0d12e701a0
commit 5bbe82c7eb
25 changed files with 141 additions and 143 deletions
@@ -155,7 +155,7 @@ class FileAttachment extends AttachmentWidget {
shape: _getDefaultShape(context),
child: source.when(
local: () => VideoThumbnailImage(
video: attachment.file?.path,
video: attachment.file!.path!,
placeholderBuilder: (_) {
return Center(
child: Container(
@@ -167,7 +167,7 @@ class FileAttachment extends AttachmentWidget {
},
),
network: () => VideoThumbnailImage(
video: attachment.assetUrl,
video: attachment.assetUrl!,
placeholderBuilder: (_) {
return Center(
child: Container(