Explorar el Código

修改直播课跳转

Pq hace 2 años
padre
commit
41a1859950

+ 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))