From 43d7522b19059ec3f9cd124d85e38cc2a60f9ff0 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Wed, 11 Nov 2020 17:43:29 +0100 Subject: [PATCH] highligth attach icon --- lib/src/message_input.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 7e8a40c4..8014ed89 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -1191,7 +1191,9 @@ class MessageInputState extends State { EdgeInsets.only(left: 8.0, right: padding, top: 8.0, bottom: 8.0), child: Icon( StreamIcons.attach, - color: Color(0xFF000000).withAlpha(128), + color: _openFilePickerSection + ? StreamChatTheme.of(context).accentColor + : Color(0xFF000000).withAlpha(128), ), ), onTap: () async {