From bd8a6f9ecca6c6eff0b940fe65f37dd6e2cc5301 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Fri, 16 Oct 2020 18:09:42 +0530 Subject: [PATCH] feat: wip message input --- lib/src/message_input.dart | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 9372767e..f61ef3be 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -618,28 +618,24 @@ class MessageInputState extends State { Widget _buildGiphyButton() { return Center( - child: IconButton( - onPressed: () { + child: InkWell( + child: Icon(StreamIcons.lightning), + onTap: () { setState(() { _giphyEnabled = true; }); }, - icon: Icon( - StreamIcons.lightning, - ), - iconSize: 14.0, ), ); } Widget _buildAttachmentButton() { return Center( - child: IconButton( - onPressed: () { + child: InkWell( + child: Icon(StreamIcons.attach), + onTap: () { showAttachmentModal(); }, - icon: Icon(StreamIcons.attach), - iconSize: 14.0, ), ); }