Browse Source

Merge branch 'new_dev' of https://github.com/deepcloud2048/deep_voice into new_dev

newdev_shunjiawei
liwei1dao 1 year ago
parent
commit
dc13a58725
  1. 4
      lib/modules/translation/views/translation_view.dart

4
lib/modules/translation/views/translation_view.dart

@ -1073,6 +1073,7 @@ class TranslationView extends GetView<TranslationController> {
Colors.blue,
onTap: () async {
Get.back();
await controller.stopAll();
await controller.changeTranslationMode('simultaneous');
await controller.startRecognition();
},
@ -1084,6 +1085,7 @@ class TranslationView extends GetView<TranslationController> {
Colors.green,
onTap: () async {
Get.back();
await controller.stopAll();
await controller.changeTranslationMode('faceToFace');
await controller.startRecognition();
},
@ -1096,6 +1098,7 @@ class TranslationView extends GetView<TranslationController> {
onTap: controller.bleManager.isConnected
? () async {
Get.back();
await controller.stopAll();
await controller.changeTranslationMode('audioVideo');
await controller.startRecognition();
}
@ -1109,6 +1112,7 @@ class TranslationView extends GetView<TranslationController> {
onTap: controller.bleManager.isConnected
? () async {
Get.back();
await controller.stopAll();
await controller.changeTranslationMode('call');
await controller.startRecognition();
}

Loading…
Cancel
Save