Skip to content

Commit

Permalink
Fix code after #4837 has been merged
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Jan 4, 2022
1 parent 48e15b1 commit 10a63f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ abstract class MessageTextItem : AbsMessageItem<MessageTextItem.Holder>() {
} else {
null
}
markwonPlugins?.forEach { plugin -> plugin.beforeSetText(holder.messageView, message as Spanned) }
markwonPlugins?.forEach { plugin -> plugin.beforeSetText(holder.messageView, message?.charSequence as Spanned) }
super.bind(holder)
holder.messageView.movementMethod = movementMethod
renderSendState(holder.messageView, holder.messageView)
Expand Down

0 comments on commit 10a63f8

Please sign in to comment.