Skip to content

Commit 07c933f

Browse files
committed
fix: fix bug in new chat input form
1 parent 74010bb commit 07c933f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/pages/chat_edit.dart

+2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class ChatEditPage extends StatelessWidget {
138138
onChanged: (value) {
139139
// controller.settings.apiKey = value;
140140
controller.currentSession.name = value;
141+
titleEditingController.text = value;
141142
// controller.update();
142143
},
143144
),
@@ -163,6 +164,7 @@ class ChatEditPage extends StatelessWidget {
163164
maxLines: 4,
164165
onChanged: (value) {
165166
controller.currentSession.promptContent = value;
167+
promptEditingController.text = value;
166168
// controller.update();
167169
},
168170
),

0 commit comments

Comments
 (0)