fdp 1 year ago
parent
commit
5143145eaf
  1. 1
      lib/modules/translation/controllers/translation_controller.dart
  2. 2
      pubspec.yaml

1
lib/modules/translation/controllers/translation_controller.dart

@ -51,6 +51,7 @@ class TranslationController extends GetxController {
currentMode.value = mode;
currentModeTitle.value = _getModeTitle(mode);
// 这里添加具体模式切换逻辑
stopAll();
}
String _getModeTitle(String mode) {

2
pubspec.yaml

@ -25,7 +25,7 @@ dependencies:
web_socket_channel: ^3.0.2
flutter_dotenv: ^5.1.0
synchronized: ^3.1.0
intl: ^0.20.2
intl: ^0.19.0
crypto: ^3.0.3
flutter_tts: ^4.2.2
logger: ^2.0.2+1

Loading…
Cancel
Save