fix [聊天时直播状态不正确]

This commit is contained in:
zlzw 2024-04-01 16:02:49 +08:00
parent 5ed273f99b
commit 6945414be3

View File

@ -125,7 +125,7 @@ public class PDLiveMessageListAdapter extends MessageListAdapter {
if (holder.getView(R.id.left_liveStatus) != null) { if (holder.getView(R.id.left_liveStatus) != null) {
if (isLeftLive && !isSender) { if (isLeftLive && !isSender) {
holder.getView(R.id.left_liveStatus).setVisibility(View.VISIBLE); holder.getView(R.id.left_liveStatus).setVisibility(View.VISIBLE);
} else if (!isSender) { } else{
holder.getView(R.id.left_liveStatus).setVisibility(View.GONE); holder.getView(R.id.left_liveStatus).setVisibility(View.GONE);
} }
holder.getView(R.id.left_liveStatus).setOnClickListener(view -> { holder.getView(R.id.left_liveStatus).setOnClickListener(view -> {