💄 Optimize post editors

This commit is contained in:
2025-02-07 22:35:04 +08:00
parent a2d2ce4d38
commit fe028860e9
7 changed files with 241 additions and 239 deletions

View File

@ -336,6 +336,7 @@ class ChatMessageInputState extends State<ChatMessageInput> {
: 'fieldChatMessage'.tr(args: [widget.controller.channel?.name ?? 'loading'.tr()]),
border: InputBorder.none,
),
textInputAction: TextInputAction.send,
onTapOutside: (_) => FocusManager.instance.primaryFocus?.unfocus(),
onSubmitted: (_) {
if (_isBusy) return;