From 62dc81d97186ba8984e679016fcf21aefb1c56bd Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 12 Oct 2022 13:37:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=9F=E7=BA=A7=E6=8C=91=E6=88=98=E6=88=90?= =?UTF-8?q?=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/utils/LiveTextRender.java | 1 + .../src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java b/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java index f7d5ce612..30c1f95b1 100644 --- a/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java +++ b/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java @@ -114,6 +114,7 @@ public class LiveTextRender { spannableStringBuilder.setSpan(new ForegroundColorSpan(Color.parseColor("#fcfe35")), starStart, starStart + star.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); textView.setText(spannableStringBuilder); + } public static void aiAutomaticSpeech(Context activity, TextView textView, AiAutomaticSpeechModel model) { diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index b003033b8..635d7969f 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -842,6 +842,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis liveHDDialogFragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment"); } else if (bean.getType() == RECOMMEND_CARD_NOTIFY) { gotoLive(bean.getMsgModel().getAnchorId()); + } else if (bean.getType() == bean.STAR_CHALLENGE_UPGRADE_NOTIFY) { + gotoLive(bean.getMsgModel().getLiveUid()); } else { showUserDialog(bean.getId()); }