Browse Source

退款隐藏百度渠道

zk 1 year ago
parent
commit
5d493f253f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      app/src/main/res/layout/fragment_mine.xml

+ 5 - 1
app/src/main/res/layout/fragment_mine.xml

@@ -10,6 +10,10 @@
             type="com.datarecovery.master.module.mine.MineViewModel" />
 
         <import type="com.atmob.common.ui.SizeUtil" />
+
+        <import type="com.atmob.user.AtmobUser" />
+
+        <import type="com.datarecovery.master.data.consts.ChannelId" />
     </data>
 
     <androidx.constraintlayout.widget.ConstraintLayout
@@ -197,7 +201,7 @@
                         android:onClick="@{()->mineViewModel.onCustomerServiceClick()}" />
 
                     <include
-                        isGone="@{!mineViewModel.isLogin}"
+                        isGone="@{!mineViewModel.isLogin || AtmobUser.getAtmobTgPlatformId() == ChannelId.BD}"
                         layout="@layout/layout_item_settings"
                         settingsIcon="@{@drawable/icon_small_appeal}"
                         settingsName="@{@string/mine_appeal}"