mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 09:38:14 +03:00
fix to set placeholder images in chat
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
1a334c8861
commit
2ddb0782f3
1 changed files with 2 additions and 2 deletions
|
@ -621,8 +621,8 @@ class ChatController(args: Bundle) :
|
|||
adapter = TalkMessagesListAdapter(
|
||||
senderId,
|
||||
messageHolders,
|
||||
ImageLoader { imageView, url, _ ->
|
||||
imageView.loadAvatarOrImagePreview(url!!, conversationUser, placeholder = payload as? Drawable)
|
||||
ImageLoader { imageView, url, placeholder ->
|
||||
imageView.loadAvatarOrImagePreview(url!!, conversationUser, placeholder as Drawable?)
|
||||
},
|
||||
this
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue