From c5a10e9ea8d9471554d73c78ce2b319ff8baf7e8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 21 Jan 2024 17:13:25 +0100 Subject: [PATCH] Add yet another todo --- app/src/main/java/eu/steffo/twom/composables/avatar/AvatarURL.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/steffo/twom/composables/avatar/AvatarURL.kt b/app/src/main/java/eu/steffo/twom/composables/avatar/AvatarURL.kt index aac1c98..0781e3a 100644 --- a/app/src/main/java/eu/steffo/twom/composables/avatar/AvatarURL.kt +++ b/app/src/main/java/eu/steffo/twom/composables/avatar/AvatarURL.kt @@ -59,6 +59,7 @@ fun AvatarURL( } // TODO: Should I check the MIME type? And the size of the image? + // FIXME: I feel this might be a race condition... Log.d("AvatarURL", "File for $url is: $avatarFile") bitmap = BitmapFactory.decodeFile(avatarFile.absolutePath) }