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, ), ); }