💄 Fix attachment loading bar
This commit is contained in:
parent
bd4560fda3
commit
f41189d7e8
@ -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,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user