mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Download attachments and open
- Uses package "open_file"
This commit is contained in:
@ -161,6 +161,9 @@ class _PartAttachmentDisplayState extends RefreshableState<PartAttachmentsWidget
|
||||
title: Text(attachment.filename),
|
||||
subtitle: Text(attachment.comment),
|
||||
leading: FaIcon(attachment.icon),
|
||||
onTap: () async {
|
||||
await attachment.downloadAttachment();
|
||||
},
|
||||
));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user