Format file.

This commit is contained in:
Benoit Marty 2025-03-03 16:28:56 +01:00
parent db55b69a49
commit 79881ed004

View file

@ -342,7 +342,9 @@ fun Modifier.avatarBloom(
withContext(Dispatchers.IO) {
val bitmap = SingletonImageLoader.get(context)
.execute(painterRequest)
.image?.toBitmap() ?: return@withContext
.image
?.toBitmap()
?: return@withContext
blurHash = BlurHash.encode(
bitmap = bitmap,
componentX = BloomDefaults.HASH_COMPONENTS,