From 6949dea8c99af08ac17e410bddb4f351631e4be1 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 4 Aug 2022 10:14:45 +0800 Subject: [PATCH] 11111 --- .../java/com/yunbao/live/adapter/SystemChatMessageAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/adapter/SystemChatMessageAdapter.java b/live/src/main/java/com/yunbao/live/adapter/SystemChatMessageAdapter.java index c7e5d83e3..a7c5a346b 100644 --- a/live/src/main/java/com/yunbao/live/adapter/SystemChatMessageAdapter.java +++ b/live/src/main/java/com/yunbao/live/adapter/SystemChatMessageAdapter.java @@ -55,7 +55,7 @@ public class SystemChatMessageAdapter extends RecyclerView.Adapter { SystemChatMessageViewHolder messageViewHolder = (SystemChatMessageViewHolder) holder; ImgLoader.displayWithError(mContext, model.getImage(), messageViewHolder.avatarImage, com.yunbao.live.R.mipmap.chat_head_mo); if (position == 2) { - messageViewHolder.userMsg.setText(TextUtils.isEmpty(model.getLink()) ? mContext.getResources().getString(R.string.chat_like) : model.getLink()); + messageViewHolder.userMsg.setText(TextUtils.isEmpty(model.getContent()) ? mContext.getResources().getString(R.string.chat_like) : model.getContent()); } else { if (position == 1) { messageViewHolder.userMsg.setText(TextUtils.isEmpty(model.getContent()) ? mContext.getResources().getString(R.string.chat_action_no) : model.getContent());