|
|
|
@ -35,38 +35,38 @@ class NavigationBarBottomSheet extends GetView<MeetingHomeController> { |
|
|
|
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, // 对应中文:导入音频 |
|
|
|
|