refactor shipping attachments and changed shipment to shipping for coherence
This commit is contained in:
@@ -153,7 +153,8 @@ class _SharedAttachmentsSectionState extends State<SharedAttachmentsSection> {
|
||||
fileBytes = file.localBytes;
|
||||
} else if (file.storagePath != null && file.storagePath!.isNotEmpty) {
|
||||
fileBytes = await repository.downloadAttachmentBytes(
|
||||
file.storagePath!,
|
||||
storagePath: file.storagePath!,
|
||||
bucket: Bucket.documents,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -283,7 +284,8 @@ class _SharedAttachmentsSectionState extends State<SharedAttachmentsSection> {
|
||||
fileBytes = file.localBytes;
|
||||
} else if (file.storagePath != null && file.storagePath!.isNotEmpty) {
|
||||
fileBytes = await repository.downloadAttachmentBytes(
|
||||
file.storagePath!,
|
||||
storagePath: file.storagePath!,
|
||||
bucket: Bucket.documents,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user