diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 269ff6b20..8b3012b08 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -49,6 +49,7 @@ + m.isIntermediate && m.role == 'user'); if (intermediateIndex >= 0) { + sendText = messages[intermediateIndex].content; messages.removeAt(intermediateIndex); } - sendMessage(finalResult); + sendMessage(sendText); recognizedText.value = ''; finalResult = ''; diff --git a/lib/modules/chat/views/chat_view.dart b/lib/modules/chat/views/chat_view.dart index c79c51b20..157536943 100644 --- a/lib/modules/chat/views/chat_view.dart +++ b/lib/modules/chat/views/chat_view.dart @@ -522,8 +522,8 @@ class ChatView extends GetView { ), Expanded( child: Container( - width: 100.w, - height: 100.w, + width: 200.w, + height: 200.w, decoration: BoxDecoration( color: isDarkMode ? Colors.white.withOpacity(0.1) : Colors.white, diff --git a/pubspec.yaml b/pubspec.yaml index 8327fbc94..303d4b581 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -35,6 +35,7 @@ dependencies: flutter_easyloading: ^3.0.5 package_info_plus: ^8.3.0 file_picker: ^8.0.0+1 + haptic_feedback: ^0.5.1+1 window_size: git: