💄 Fix attachment loading bar

This commit is contained in:
LittleSheep 2024-06-02 00:25:12 +08:00
parent bd4560fda3
commit f41189d7e8

View File

@ -68,8 +68,10 @@ class _AttachmentItemState extends State<AttachmentItem> {
imageUrl: imageUrl:
'${ServiceFinder.services['paperclip']}/api/attachments/${widget.item.id}', '${ServiceFinder.services['paperclip']}/api/attachments/${widget.item.id}',
progressIndicatorBuilder: (context, url, downloadProgress) => progressIndicatorBuilder: (context, url, downloadProgress) =>
CircularProgressIndicator( Center(
value: downloadProgress.progress, child: CircularProgressIndicator(
value: downloadProgress.progress,
),
), ),
fit: widget.fit, fit: widget.fit,
) )