Format file.
This commit is contained in:
parent
db55b69a49
commit
79881ed004
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue