[6.1.0] change the text

This commit is contained in:
zhongchao
2023-10-08 15:35:05 +08:00
parent 3be5391aca
commit f5c8c1084b
2 changed files with 5 additions and 5 deletions

View File

@@ -1356,8 +1356,8 @@ internal class DebugSettingView @JvmOverloads constructor(
/**
* 设置是否开启pre check, true-打开false-关闭
*/
tbPreCheckEnable.isChecked = SharedPrefsMgr.getInstance(context).getBoolean("TRACE_ENABLE",true)
tbPreCheckEnable.setOnCheckedChangeListener { _, isChecked ->
tbTraceEnable.isChecked = SharedPrefsMgr.getInstance(context).getBoolean("TRACE_ENABLE",true)
tbTraceEnable.setOnCheckedChangeListener { _, isChecked ->
HmiActionLog.hmiAction(TAG + "TRACE_ENABLE",isChecked)
SharedPrefsMgr.getInstance(context).putBoolean("TRACE_ENABLE",isChecked)
CallerDevaToolsManager.setTraceEnable(isChecked)

View File

@@ -2100,14 +2100,14 @@
android:textSize="@dimen/dp_24" />
<ToggleButton
android:id="@+id/tbPreCheckEnable"
android:id="@+id/tbTraceEnable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:padding="@dimen/dp_20"
android:gravity="center"
android:textOff="打开链路检查"
android:textOn="关闭链路检查"
android:textOff="打开链路写/检查"
android:textOn="关闭链路写/检查"
android:textSize="@dimen/dp_24" />
</com.google.android.flexbox.FlexboxLayout>