From ef3bdafd90b28267ebedcc7389e5b4063386df14 Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Wed, 28 Aug 2024 10:39:03 +0300 Subject: [PATCH] fix: chat message input size --- lib/features/chat/presentation/pages/chat_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/chat/presentation/pages/chat_screen.dart b/lib/features/chat/presentation/pages/chat_screen.dart index 3f809e28..fac8c5eb 100644 --- a/lib/features/chat/presentation/pages/chat_screen.dart +++ b/lib/features/chat/presentation/pages/chat_screen.dart @@ -219,7 +219,7 @@ class _ChatScreenState extends State { ), SizedBox(width: 8), SizedBox( - width: mediaQueryData.size.width - 96, + width: MediaQuery.of(context).size.width - 96, child: TextFormField( controller: textEditingController, maxLines: 5,