Skip to content

Commit

Permalink
fix: fix bug in new chat input form
Browse files Browse the repository at this point in the history
  • Loading branch information
zmhu committed Dec 10, 2023
1 parent 74010bb commit 07c933f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pages/chat_edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ class ChatEditPage extends StatelessWidget {
onChanged: (value) {
// controller.settings.apiKey = value;
controller.currentSession.name = value;
titleEditingController.text = value;
// controller.update();
},
),
Expand All @@ -163,6 +164,7 @@ class ChatEditPage extends StatelessWidget {
maxLines: 4,
onChanged: (value) {
controller.currentSession.promptContent = value;
promptEditingController.text = value;
// controller.update();
},
),
Expand Down

0 comments on commit 07c933f

Please sign in to comment.