适配中英文切换
This commit is contained in:
@@ -39,12 +39,12 @@ class RecognitionModeDialog(context: Context) : Dialog(context) {
|
||||
}
|
||||
|
||||
binding.itemBluetooth.setOnClickListener {
|
||||
selectedMode = "蓝牙识别"
|
||||
selectedMode = context.getString(R.string.bluetooth_recognition)
|
||||
updateSelectedBackground(binding.itemBluetooth)
|
||||
}
|
||||
|
||||
binding.itemBluetoothFace.setOnClickListener {
|
||||
selectedMode = "蓝牙+人脸识别"
|
||||
selectedMode = context.getString(R.string.bluetooth_face_recognition)
|
||||
updateSelectedBackground(binding.itemBluetoothFace)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user