mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-19 18:55:05 +01:00
remove placeholder for loadAvatarInternal
this looks smoother when loading the avatars (less flickering) "error" and "fallback" take over if something goes wrong. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
6b98a19294
commit
effbd28f5d
@ -134,7 +134,6 @@ private fun ImageView.loadAvatarInternal(
|
||||
)
|
||||
}
|
||||
transformations(CircleCropTransformation())
|
||||
placeholder(placeholder ?: ContextCompat.getDrawable(context, R.drawable.account_circle_96dp))
|
||||
error(placeholder ?: ContextCompat.getDrawable(context, R.drawable.account_circle_96dp))
|
||||
fallback(placeholder ?: ContextCompat.getDrawable(context, R.drawable.account_circle_96dp))
|
||||
listener(onError = { _, result ->
|
||||
|
Loading…
Reference in New Issue
Block a user