desktop cm: auto focus & merge setSizeAlignment

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-11-05 10:35:56 +08:00
parent e7ac6eb0d2
commit 4f7af964c6
4 changed files with 7 additions and 14 deletions

View File

@@ -54,6 +54,7 @@ class ChatPage extends StatelessWidget implements PageShape {
return DashChat(
onSend: (chatMsg) {
chatModel.send(chatMsg);
chatModel.inputNode.requestFocus();
},
currentUser: chatModel.me,
messages: chatModel