1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00

Add cache key for conversation messages

This commit is contained in:
Pierre HUBERT 2022-03-12 10:31:13 +01:00
parent 5040fbb101
commit 2a50190e94

View File

@ -43,6 +43,7 @@ class _ConversationFileWidgetState extends State<ConversationFileWidget> {
opacity: 0.8, opacity: 0.8,
child: CachedNetworkImage( child: CachedNetworkImage(
imageUrl: file.thumbnail!, imageUrl: file.thumbnail!,
cacheKey: "conv-file-${widget.messageID}",
width: _AreaWidth, width: _AreaWidth,
height: _AreaHeight, height: _AreaHeight,
fit: BoxFit.cover, fit: BoxFit.cover,