From e6fa69df3910d9f77c671a4159e5dc753ed3634e Mon Sep 17 00:00:00 2001 From: bluearevalo <90929912+bluearevalo@users.noreply.github.com> Date: Mon, 15 Jul 2024 15:28:16 -0400 Subject: [PATCH] add back #pangea comment tags --- lib/pages/chat/input_bar.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/pages/chat/input_bar.dart b/lib/pages/chat/input_bar.dart index 04d1be9db..9337b488a 100644 --- a/lib/pages/chat/input_bar.dart +++ b/lib/pages/chat/input_bar.dart @@ -490,10 +490,13 @@ class InputBar extends StatelessWidget { keyboardType: keyboardType!, textInputAction: textInputAction, autofocus: autofocus!, - //setting max character count to 1000 - //after max, nothing else can be typed inputFormatters: [ + //#Pangea + //LengthLimitingTextInputFormatter((maxPDUSize / 3).floor()), + //setting max character count to 1000 + //after max, nothing else can be typed LengthLimitingTextInputFormatter(1000), + //Pangea# ], onSubmitted: (text) { // fix for library for now