From c7fb3a229ffd54e1b3aa13eeaa6c53b630bbdced Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Tue, 20 Oct 2020 17:13:14 +0530 Subject: [PATCH] feat: Shrink actions on type --- lib/src/message_input.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 2c27665a..b9af8102 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -239,7 +239,7 @@ class MessageInputState extends State { _actionsShrunk = false; }); }, - icon: Icon(StreamIcons.arrow_right, color: StreamChatTheme.of(context).accentColor,), + icon: Icon(StreamIcons.circle_left, color: StreamChatTheme.of(context).accentColor,), ), secondChild: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, @@ -274,7 +274,7 @@ class MessageInputState extends State { setState(() { _messageIsPresent = s.trim().isNotEmpty; - _actionsShrunk = true; + _actionsShrunk = s.trim().isNotEmpty; }); _commandsOverlay?.remove();