From 046174d13aeee8ed585ab2d4e28b8bce272e0217 Mon Sep 17 00:00:00 2001
From: lmw <125975490@qq.com>
Date: 星期三, 19 六月 2024 17:25:40 +0800
Subject: [PATCH] 文件管理权限移到里面

---
 app/src/main/java/com/dollearn/student/ui/course/CourseDetailActivity.kt |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/app/src/main/java/com/dollearn/student/ui/course/CourseDetailActivity.kt b/app/src/main/java/com/dollearn/student/ui/course/CourseDetailActivity.kt
index 9759f8e..95a26db 100644
--- a/app/src/main/java/com/dollearn/student/ui/course/CourseDetailActivity.kt
+++ b/app/src/main/java/com/dollearn/student/ui/course/CourseDetailActivity.kt
@@ -75,9 +75,7 @@
 
     @Subscribe
     fun onSwitch(e: EmptyEvent) {
-        if (e.code == Const.EventCode.CHANGE_STARTCLASS) {
-            finish()
-        }
+
     }
 
     override fun onDestroy() {

--
Gitblit v1.7.1