diff --git a/lib/frontend/screens/chats/chat/view/composer_input.dart b/lib/frontend/screens/chats/chat/view/composer_input.dart index a028366..15b1441 100644 --- a/lib/frontend/screens/chats/chat/view/composer_input.dart +++ b/lib/frontend/screens/chats/chat/view/composer_input.dart @@ -273,6 +273,8 @@ class ComposerInputBar extends StatelessWidget { ), maxLines: null, keyboardType: TextInputType.multiline, + textCapitalization: + TextCapitalization.sentences, textAlignVertical: TextAlignVertical.center, contextMenuBuilder: contextMenuBuilder, diff --git a/lib/frontend/screens/chats/chat_screen.dart b/lib/frontend/screens/chats/chat_screen.dart index 9e08e01..b074087 100644 --- a/lib/frontend/screens/chats/chat_screen.dart +++ b/lib/frontend/screens/chats/chat_screen.dart @@ -7605,6 +7605,7 @@ class _EditMessageSheetState extends State<_EditMessageSheet> { autofocus: true, minLines: 1, maxLines: 6, + textCapitalization: TextCapitalization.sentences, style: TextStyle(color: cs.onSurface), contextMenuBuilder: (ctx, state) => widget.contextMenuBuilder(_controller, ctx, state), diff --git a/lib/frontend/widgets/attachment/attachment_sheet.dart b/lib/frontend/widgets/attachment/attachment_sheet.dart index 8794899..86f7b59 100644 --- a/lib/frontend/widgets/attachment/attachment_sheet.dart +++ b/lib/frontend/widgets/attachment/attachment_sheet.dart @@ -832,6 +832,7 @@ class _AttachmentSheetState extends State { controller: _captionCtrl, style: TextStyle(color: cs.onSurface, fontSize: 15), cursorColor: cs.primary, + textCapitalization: TextCapitalization.sentences, decoration: InputDecoration( isCollapsed: true, border: InputBorder.none,