Skip to content

Commit

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

0 comments on commit e609725

Please sign in to comment.