فهرست منبع

修改直播课跳转

Pq 2 سال پیش
والد
کامیت
41a1859950
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      teacher/src/main/java/com/cooleshow/teacher/ui/course/MineLiveCourseFragment.java

+ 2 - 2
teacher/src/main/java/com/cooleshow/teacher/ui/course/MineLiveCourseFragment.java

@@ -107,8 +107,8 @@ public class MineLiveCourseFragment extends BaseMVPFragment<FragmentMineLiveCour
         mViewBinding.tvOpen.setOnClickListener(this);
         mineLiveCourseAdapter.setOnItemClickListener((adapter, view, position) -> {
             MineLiveCourseListBean.RowsBean item = (MineLiveCourseListBean.RowsBean) adapter.getItem(position);
-            if (TextUtils.equals(type, "CANCEL") || TextUtils.equals(type, "OUT_SALE")) {
-                //已取消或者已下架 点击跳转编辑页面
+            if (TextUtils.equals(type, "OUT_SALE")) {
+                //已下架 点击跳转编辑页面
                 ARouter.getInstance()
                         .build(RouterPath.WebCenter.ACTIVITY_HTML)
                         .withString(WebConstants.WEB_URL, String.format(WebConstants.TEACHER_LIVE_EDIT, item.courseGroupId))