From 7f696f4b0de0ea4032ae304c714df7c9f623a2d5 Mon Sep 17 00:00:00 2001 From: bigtaed-sys <234930311+bigtaed-sys@users.noreply.github.com> Date: Fri, 17 Jul 2026 19:53:24 +0300 Subject: [PATCH] =?UTF-8?q?feat(chat):=20=D0=B0=D0=B2=D1=82=D0=BE=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=B0=D1=8F=20=D0=B1=D1=83?= =?UTF-8?q?=D0=BA=D0=B2=D0=B0=20=D0=B2=20=D0=BD=D0=B0=D1=87=D0=B0=D0=BB?= =?UTF-8?q?=D0=B5=20=D0=BF=D1=80=D0=B5=D0=B4=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B9=20=D0=BF=D1=80=D0=B8=20=D0=BD=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=80=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TextCapitalization.sentences для композера, подписи к вложениям и шторки редактирования сообщения. --- lib/frontend/screens/chats/chat/view/composer_input.dart | 2 ++ lib/frontend/screens/chats/chat_screen.dart | 1 + lib/frontend/widgets/attachment/attachment_sheet.dart | 1 + 3 files changed, 4 insertions(+) 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,