Badges

This commit is contained in:
2024-06-03 23:36:46 +08:00
parent 6090367ed6
commit 6007bdff77
14 changed files with 556 additions and 398 deletions

View File

@ -65,6 +65,7 @@ class _AttachmentItemState extends State<AttachmentItem> {
children: [
if (PlatformInfo.canCacheImage)
CachedNetworkImage(
fit: widget.fit,
imageUrl:
'${ServiceFinder.services['paperclip']}/api/attachments/${widget.item.id}',
progressIndicatorBuilder: (context, url, downloadProgress) =>
@ -73,7 +74,6 @@ class _AttachmentItemState extends State<AttachmentItem> {
value: downloadProgress.progress,
),
),
fit: widget.fit,
)
else
Image.network(