add avatar placeholders back in (#1285)
This commit is contained in:
parent
83696b5c7f
commit
9690cd5730
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ fun loadAvatar(url: String?, imageView: ImageView, @Px radius: Int, animate: Boo
|
|||
fitCenterTransformation,
|
||||
RoundedCorners(radius)
|
||||
)
|
||||
.placeholder(R.drawable.avatar_default)
|
||||
.into(imageView)
|
||||
|
||||
} else {
|
||||
|
@ -36,6 +37,7 @@ fun loadAvatar(url: String?, imageView: ImageView, @Px radius: Int, animate: Boo
|
|||
fitCenterTransformation,
|
||||
RoundedCorners(radius)
|
||||
)
|
||||
.placeholder(R.drawable.avatar_default)
|
||||
.into(imageView)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue