From ad485b8f6a2f865ce50c8a4404718b2826897d99 Mon Sep 17 00:00:00 2001 From: fdp <1286779656@qq.com> Date: Tue, 26 Aug 2025 19:36:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E5=A4=84=E6=B2=A1=E6=9C=89=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../navigation_bar_bottom_sheet.dart | 64 +++++++++---------- .../translation/views/translation_view.dart | 26 ++++---- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/lib/modules/meeting/views/bottomSheet/navigation_bar_bottom_sheet.dart b/lib/modules/meeting/views/bottomSheet/navigation_bar_bottom_sheet.dart index 7f594cdc6..150c3549f 100644 --- a/lib/modules/meeting/views/bottomSheet/navigation_bar_bottom_sheet.dart +++ b/lib/modules/meeting/views/bottomSheet/navigation_bar_bottom_sheet.dart @@ -35,38 +35,38 @@ class NavigationBarBottomSheet extends GetView { controller.addMeetingAudio(); }, ), - if (controller.meetingController.type == 1) - _buildItem( - context, // 传递 context 参数 - 'audioVideoRecording'.tr, // 对应中文:音、视频录音 - Icons.videocam, - Colors.green, - onTap: controller.bleManager.isConnected - ? () async { - Get.back(); - await Get.toNamed(Routes.meetingRecord, arguments: { - 'audioTypes': 1, - }); - controller.addMeetingAudio(); - } - : null, - ), - if (controller.meetingController.type == 1) - _buildItem( - context, // 传递 context 参数 - 'callRecording'.tr, // 对应中文:通话录音 - Icons.phone, - Colors.orange, - onTap: controller.bleManager.isConnected - ? () async { - Get.back(); - await Get.toNamed(Routes.meetingRecord, arguments: { - 'audioTypes': 2, - }); - controller.addMeetingAudio(); - } - : null, - ), + // if (controller.meetingController.type == 1) + // _buildItem( + // context, // 传递 context 参数 + // 'audioVideoRecording'.tr, // 对应中文:音、视频录音 + // Icons.videocam, + // Colors.green, + // onTap: controller.bleManager.isConnected + // ? () async { + // Get.back(); + // await Get.toNamed(Routes.meetingRecord, arguments: { + // 'audioTypes': 1, + // }); + // controller.addMeetingAudio(); + // } + // : null, + // ), + // if (controller.meetingController.type == 1) + // _buildItem( + // context, // 传递 context 参数 + // 'callRecording'.tr, // 对应中文:通话录音 + // Icons.phone, + // Colors.orange, + // onTap: controller.bleManager.isConnected + // ? () async { + // Get.back(); + // await Get.toNamed(Routes.meetingRecord, arguments: { + // 'audioTypes': 2, + // }); + // controller.addMeetingAudio(); + // } + // : null, + // ), _buildItem( context, // 传递 context 参数 'importAudio'.tr, // 对应中文:导入音频 diff --git a/lib/modules/translation/views/translation_view.dart b/lib/modules/translation/views/translation_view.dart index 3458da2d6..364993c46 100644 --- a/lib/modules/translation/views/translation_view.dart +++ b/lib/modules/translation/views/translation_view.dart @@ -1115,19 +1115,19 @@ class TranslationView extends GetView { } : null, ), - _buildModeItem( - context, - 'audioVideoTranslation'.tr, - Icons.videocam, - Colors.orange, - onTap: controller.bleManager.isConnected - ? () async { - Get.back(); - await controller.changeTranslationMode('audioVideo'); - await controller.startRecognition(); - } - : null, - ), + // _buildModeItem( + // context, + // 'audioVideoTranslation'.tr, + // Icons.videocam, + // Colors.orange, + // onTap: controller.bleManager.isConnected + // ? () async { + // Get.back(); + // await controller.changeTranslationMode('audioVideo'); + // await controller.startRecognition(); + // } + // : null, + // ), _buildModeItem( context, 'callTranslation'.tr,