Skip to content

Commit 79881ed

Browse files
committed
Format file.
1 parent db55b69 commit 79881ed

File tree

1 file changed

+3
-1
lines changed
  • libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/components

1 file changed

+3
-1
lines changed

libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/components/Bloom.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@ fun Modifier.avatarBloom(
342342
withContext(Dispatchers.IO) {
343343
val bitmap = SingletonImageLoader.get(context)
344344
.execute(painterRequest)
345-
.image?.toBitmap() ?: return@withContext
345+
.image
346+
?.toBitmap()
347+
?: return@withContext
346348
blurHash = BlurHash.encode(
347349
bitmap = bitmap,
348350
componentX = BloomDefaults.HASH_COMPONENTS,

0 commit comments

Comments
 (0)