Skip to content

Commit

Permalink
Improved UI for drafts.| #74
Browse files Browse the repository at this point in the history
  • Loading branch information
DenBond7 committed Nov 7, 2024
1 parent 4fc51f0 commit cabdb6a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,12 @@ class MessagesInThreadListAdapter(private val onMessageActionsListener: OnMessag
onMessageActionsListener: OnMessageActionsListener
) {
val messageEntity = message.messageEntity
itemView.setOnClickListener { onMessageActionsListener.onMessageClick(position, message) }
itemView.setOnClickListener {
onMessageActionsListener.onMessageClick(position, message)
if (message.incomingMessageInfo == null) {
mapWebViewHeight.remove(position)
}
}
val senderAddress = messageEntity.generateFromText(context)
binding.imageViewAvatar.useGlideToApplyImageFromSource(
source = AvatarModelLoader.SCHEMA_AVATAR + senderAddress
Expand Down

0 comments on commit cabdb6a

Please sign in to comment.