TF-4050 Preview and download uploaded file in composer on web
This commit is contained in:
+2
@@ -76,6 +76,7 @@ class _MobileAttachmentComposerWidgetState extends State<MobileAttachmentCompose
|
||||
itemBuilder: (context, index) {
|
||||
final file = _listFileDisplayed[index];
|
||||
return AttachmentItemComposerWidget(
|
||||
imagePaths: _imagePaths,
|
||||
fileIcon: file.getIcon(_imagePaths),
|
||||
fileName: file.fileName,
|
||||
fileSize: filesize(file.fileSize),
|
||||
@@ -139,6 +140,7 @@ class _MobileAttachmentComposerWidgetState extends State<MobileAttachmentCompose
|
||||
itemBuilder: (context, index) {
|
||||
final file = _listFileDisplayed[index];
|
||||
return AttachmentItemComposerWidget(
|
||||
imagePaths: _imagePaths,
|
||||
fileIcon: file.getIcon(_imagePaths),
|
||||
fileName: file.fileName,
|
||||
fileSize: filesize(file.fileSize),
|
||||
|
||||
Reference in New Issue
Block a user