|
@@ -107,7 +107,7 @@ class CourseTableListAdapter(layoutResId: Int) :
|
|
|
R.id.tv_course_status,
|
|
|
context.resources.getColor(com.cooleshow.base.R.color.color_ff802c)
|
|
|
)
|
|
|
- if (CourseHelper.isCanShowEnterBt(configBean,data.courseType,data.startTime)) {
|
|
|
+ if (CourseHelper.isCanShowEnterBt(configBean, data.courseType, data.startTime)) {
|
|
|
tvCourseStatusBt.setVisible(true)
|
|
|
tvCourseStatusBt.text = "进入教室"
|
|
|
tvCourseStatusBt.setBackgroundResource(R.drawable.shape_course_status_ing);
|
|
@@ -145,7 +145,7 @@ class CourseTableListAdapter(layoutResId: Int) :
|
|
|
|
|
|
COMPLETE -> {
|
|
|
//已完成
|
|
|
- if (TextUtils.equals(OTHER_COURSE, data?.courseType)) {
|
|
|
+ if (TextUtils.equals(VIP_COURSE, data?.courseType) || TextUtils.equals(OTHER_COURSE, data?.courseType)) {
|
|
|
tvCourseStatusBt.setVisible(true)
|
|
|
} else {
|
|
|
//直播课隐藏
|