[8.2.0][fix]修复MogoMind开关不可点击的问题

This commit is contained in:
Herry
2025-09-01 17:42:43 +08:00
parent bab3284ad6
commit 9275e8e79e
2 changed files with 4 additions and 1 deletions

View File

@@ -1136,6 +1136,9 @@ class OperatePanelLayout : LinearLayout {
SweeperVehicleConfigUtils.isDefaultSweeperCloudMode(FunctionBuildConfig.sweeperDefaultMode)
}
}
KEY_MOGO_MIND_SWITCH -> {
return false
}
}
return super.getDefaultVal(pref)
}

View File

@@ -63,7 +63,7 @@
android:layout="@layout/layout_operate_panel_preference_switch_compat"
android:title="MogoMind开关"
android:persistent="false"
android:enabled="false"
android:enabled="true"
android:widgetLayout="@layout/layout_operate_panel_preference_widget_switch_compat" />
</PreferenceCategory>
</androidx.preference.PreferenceScreen>