test of vip has finished and through
This commit is contained in:
@@ -62,7 +62,6 @@ import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.function.hmi.ui.logcatch.ILogViewListener
|
||||
import com.mogo.eagle.core.function.hmi.ui.logcatch.LogInfoView
|
||||
import com.mogo.eagle.core.function.hmi.ui.upgrade.UpgradeListAdapter
|
||||
import com.mogo.eagle.core.function.v2x.vip.VipCarManager
|
||||
import com.mogo.eagle.core.network.*
|
||||
import com.mogo.eagle.core.utilcode.kotlin.onClick
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
||||
@@ -440,27 +439,15 @@ class DebugSettingView @JvmOverloads constructor(
|
||||
/**
|
||||
* 日志中心
|
||||
*/
|
||||
// tbLogcatCenter.setOnCheckedChangeListener { buttonView, isChecked ->
|
||||
// if (isChecked) {
|
||||
// buttonView.setCompoundDrawables(null, null, iconDown, null)
|
||||
// //展示日志中心
|
||||
// logcatCenterLayout.visibility = View.VISIBLE
|
||||
// } else {
|
||||
// buttonView.setCompoundDrawables(null, null, iconRight, null)
|
||||
// //隐藏日志中心
|
||||
// logcatCenterLayout.visibility = View.GONE
|
||||
// }
|
||||
// }
|
||||
//todo test
|
||||
tbLogcatCenter.setOnCheckedChangeListener { buttonView, isChecked ->
|
||||
if (isChecked) {
|
||||
buttonView.setCompoundDrawables(null, null, iconDown, null)
|
||||
//展示日志中心
|
||||
logcatCenterLayout.visibility = View.VISIBLE
|
||||
VipCarManager.INSTANCE.turnLight(30)
|
||||
} else {
|
||||
buttonView.setCompoundDrawables(null, null, iconRight, null)
|
||||
//隐藏日志中心
|
||||
logcatCenterLayout.visibility = View.GONE
|
||||
VipCarManager.INSTANCE.turnLight(30)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user