|
|
@ -1102,11 +1102,13 @@ class TranslationView extends GetView<TranslationController> { |
|
|
'faceToFaceTranslation'.tr, |
|
|
'faceToFaceTranslation'.tr, |
|
|
Icons.people, |
|
|
Icons.people, |
|
|
Colors.green, |
|
|
Colors.green, |
|
|
onTap: () async { |
|
|
onTap: controller.bluetoothManager.currentDevice != null |
|
|
Get.back(); |
|
|
? () async { |
|
|
await controller.changeTranslationMode('faceToFace'); |
|
|
Get.back(); |
|
|
controller.startRecognition(); |
|
|
await controller.changeTranslationMode('faceToFace'); |
|
|
}, |
|
|
controller.startRecognition(); |
|
|
|
|
|
} |
|
|
|
|
|
: null, |
|
|
), |
|
|
), |
|
|
_buildModeItem( |
|
|
_buildModeItem( |
|
|
context, |
|
|
context, |
|
|
|