|
@@ -473,7 +473,8 @@ public class NewHomeFragmentV2 extends BaseMVPFragment<FgNewHomeV2LayoutBinding,
|
|
|
if (mRecentCourses != null) {
|
|
|
boolean isIng = TextUtils.equals(mRecentCourses.status, CourseStatusType.ING.getId());
|
|
|
mViewBinding.tvEnterRoom.setText(getString(isIng ? R.string.enter_room_tip_str : R.string.will_start_tip_str));
|
|
|
- mViewBinding.tvEnterRoom.setBackgroundResource(isIng ? com.cooleshow.base.R.drawable.shape_2dc7aa_13dp: com.cooleshow.base.R.drawable.shape_13dp_border_2dc7aa_1dp);
|
|
|
+ mViewBinding.tvEnterRoom.setTextColor(getContext().getResources().getColor(isIng ? R.color.white : com.cooleshow.base.R.color.color_2dc7aa));
|
|
|
+ mViewBinding.tvEnterRoom.setBackgroundResource(isIng ? com.cooleshow.base.R.drawable.shape_2dc7aa_13dp : com.cooleshow.base.R.drawable.shape_13dp_border_2dc7aa_1dp);
|
|
|
mViewBinding.tvLiveTitle.setText(mRecentCourses.courseGroupName);
|
|
|
String currentTime = TimeUtils.date2String(new Date(System.currentTimeMillis()), "yyyy-MM-dd");
|
|
|
String startTime = TimeUtils.date2String(
|