From dc7c1469953f872b51b245e93dd5db4f4bc88db4 Mon Sep 17 00:00:00 2001 From: Quffik <8903maks127@gmail.com> Date: Thu, 23 Jul 2026 09:24:02 +0300 Subject: [PATCH] Disable default spell check suggestions toolbar --- lib/pages/chat/input_bar.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat/input_bar.dart b/lib/pages/chat/input_bar.dart index c651e0408..e46740bda 100644 --- a/lib/pages/chat/input_bar.dart +++ b/lib/pages/chat/input_bar.dart @@ -448,7 +448,10 @@ class InputBar extends StatelessWidget { keyboardType: keyboardType, textInputAction: textInputAction, autofocus: autofocus!, - spellCheckConfiguration: const SpellCheckConfiguration(), + spellCheckConfiguration: SpellCheckConfiguration( + spellCheckSuggestionsToolbarBuilder: (context, state) => + const SizedBox.shrink(), + ), inputFormatters: [ LengthLimitingTextInputFormatter((maxPDUSize / 3).floor()), ],