Browse Source

去掉机构端的声部设置

Pq 1 year ago
parent
commit
99de148803

+ 14 - 14
institution/src/main/java/com/cooleshow/institution/stu/ui/setting/PersonalSettingActivity.java

@@ -109,20 +109,20 @@ public class PersonalSettingActivity extends BaseMVPActivity<JgActivityPersonalS
         } else if (id == R.id.cl_birthday) {
             selectBirthday();
         } else if (id == R.id.cl_score) {
-            if (null != mySetDetailBean) {
-                try {
-                    Bundle bundle = new Bundle();
-                    TeachableInstrumentBean teachableInstrumentBean = new TeachableInstrumentBean();
-                    teachableInstrumentBean.id = Long.parseLong(mySetDetailBean.subjectId);
-                    teachableInstrumentBean.name = mySetDetailBean.subjectName;
-                    bundle.putSerializable("selectTeachableInstrument", (Serializable) teachableInstrumentBean);
-                    ARouter.getInstance().build(RouterPath.MineCenter.MINE_TEACHABLE_INSTRUMENT)
-                            .withBundle("bundle", bundle)
-                            .navigation();
-                } catch (Exception e) {
-                    e.printStackTrace();
-                }
-            }
+//            if (null != mySetDetailBean) {
+//                try {
+//                    Bundle bundle = new Bundle();
+//                    TeachableInstrumentBean teachableInstrumentBean = new TeachableInstrumentBean();
+//                    teachableInstrumentBean.id = Long.parseLong(mySetDetailBean.subjectId);
+//                    teachableInstrumentBean.name = mySetDetailBean.subjectName;
+//                    bundle.putSerializable("selectTeachableInstrument", (Serializable) teachableInstrumentBean);
+//                    ARouter.getInstance().build(RouterPath.MineCenter.MINE_TEACHABLE_INSTRUMENT)
+//                            .withBundle("bundle", bundle)
+//                            .navigation();
+//                } catch (Exception e) {
+//                    e.printStackTrace();
+//                }
+//            }
         }
 
         if (id == R.id.tv_logout) {

+ 2 - 0
institution/src/main/res/layout/fg_home_music_layout.xml

@@ -56,6 +56,7 @@
         tools:text="满天都是小星星机构" />
 
     <FrameLayout
+        android:visibility="gone"
         android:id="@+id/fl_subject"
         android:layout_width="66dp"
         android:layout_height="wrap_content"
@@ -85,6 +86,7 @@
         android:id="@+id/view_search_bg"
         android:layout_width="0dp"
         android:layout_height="34dp"
+        app:layout_goneMarginStart="13dp"
         android:layout_marginTop="17dp"
         android:layout_marginEnd="13dp"
         android:background="@drawable/shape_main_music_search_bg"