浏览代码

修改判断逻辑

Pq 1 年之前
父节点
当前提交
f553a749a9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tclive/src/main/java/com/daya/tclive/ui/TCTeacherLiveRoomActivity.java

+ 1 - 1
tclive/src/main/java/com/daya/tclive/ui/TCTeacherLiveRoomActivity.java

@@ -543,7 +543,7 @@ public class TCTeacherLiveRoomActivity extends BaseMVPActivity<ActivityTcTeacher
             return;
         }
         this.mRoomInfoBean = roomInfoBean;
-        this.isLiveCourse = TextUtils.equals(mRoomInfoBean.type, "live");
+        this.isLiveCourse = TextUtils.equals(mRoomInfoBean.type, "LIVE");
         iconFinishLive.setImageResource(isLiveCourse ? R.drawable.icon_live_course_pause : R.drawable.icon_live_room_close_menu);
         syncAddLikeNum();
         if (mMessageAdapter != null) {