[6.4.2]
[调试功能调整]
This commit is contained in:
@@ -117,9 +117,11 @@ class LoginFragment : MvpFragment<LoginFragment?, LoginPresenter?>(), ILoginView
|
||||
}
|
||||
}
|
||||
biz_actv_login_show_sn.text = SharedPrefsMgr.getInstance().sn
|
||||
biz_actv_login_show_sn.setOnLongClickListener {
|
||||
bv_switch_business.selectBusniess()
|
||||
true
|
||||
if(BuildConfig.DEBUG) {
|
||||
biz_actv_login_show_sn.setOnLongClickListener {
|
||||
bv_switch_business.selectBusniess()
|
||||
true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -63,11 +63,11 @@ class LoginPassengerFragment : MvpFragment<LoginPassengerFragment?, LoginPasseng
|
||||
|
||||
actv_app_version?.text = FlavorUtils.getInfo()
|
||||
|
||||
actv_app_version?.setOnLongClickListener {
|
||||
if(BuildConfig.DEBUG){
|
||||
if(BuildConfig.DEBUG) {
|
||||
actv_app_version?.setOnLongClickListener {
|
||||
bv_switch_business?.selectBusniess()
|
||||
true
|
||||
}
|
||||
true
|
||||
}
|
||||
|
||||
CallerLogger.d(TAG, "init")
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:paddingBottom="@dimen/dp_20"
|
||||
android:gravity="center"
|
||||
android:text="debugview"
|
||||
android:text="调试页面"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
||||
Reference in New Issue
Block a user