mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
fix: format
This commit is contained in:
parent
99ff2098fb
commit
bfb55b4525
@ -88,7 +88,8 @@ extension LocalizedBody on Event {
|
|||||||
Future<MatrixFile> downloadAndDecryptAttachmentCached(
|
Future<MatrixFile> downloadAndDecryptAttachmentCached(
|
||||||
{bool getThumbnail = false}) async {
|
{bool getThumbnail = false}) async {
|
||||||
final mxcUrl = attachmentOrThumbnailMxcUrl(getThumbnail: getThumbnail);
|
final mxcUrl = attachmentOrThumbnailMxcUrl(getThumbnail: getThumbnail);
|
||||||
_downloadAndDecryptFutures[mxcUrl.toString()] ??= downloadAndDecryptAttachment(
|
_downloadAndDecryptFutures[mxcUrl.toString()] ??=
|
||||||
|
downloadAndDecryptAttachment(
|
||||||
getThumbnail: getThumbnail,
|
getThumbnail: getThumbnail,
|
||||||
downloadCallback: (Uri url) async {
|
downloadCallback: (Uri url) async {
|
||||||
final file = await DefaultCacheManager().getSingleFile(url.toString());
|
final file = await DefaultCacheManager().getSingleFile(url.toString());
|
||||||
|
Loading…
Reference in New Issue
Block a user