💄 Fix attachment loading bar
This commit is contained in:
parent
bd4560fda3
commit
f41189d7e8
@ -68,9 +68,11 @@ 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(
|
||||||
|
child: CircularProgressIndicator(
|
||||||
value: downloadProgress.progress,
|
value: downloadProgress.progress,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
fit: widget.fit,
|
fit: widget.fit,
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user