fix: format
This commit is contained in:
parent
147c47087f
commit
458f925d6d
1 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,8 @@ extension LocalizedBody on Event {
|
|||
Future<MatrixFile> downloadAndDecryptAttachmentCached(
|
||||
{bool getThumbnail = false}) async {
|
||||
final mxcUrl = attachmentOrThumbnailMxcUrl(getThumbnail: getThumbnail);
|
||||
_downloadAndDecryptFutures[mxcUrl.toString()] ??= downloadAndDecryptAttachment(
|
||||
_downloadAndDecryptFutures[mxcUrl.toString()] ??=
|
||||
downloadAndDecryptAttachment(
|
||||
getThumbnail: getThumbnail,
|
||||
downloadCallback: (Uri url) async {
|
||||
final file = await DefaultCacheManager().getSingleFile(url.toString());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue