feat: wip message input

This commit is contained in:
Deven Joshi
2020-10-16 18:09:42 +05:30
parent 3ddc521f2b
commit bd8a6f9ecc
+6 -10
View File
@@ -618,28 +618,24 @@ class MessageInputState extends State<MessageInput> {
Widget _buildGiphyButton() { Widget _buildGiphyButton() {
return Center( return Center(
child: IconButton( child: InkWell(
onPressed: () { child: Icon(StreamIcons.lightning),
onTap: () {
setState(() { setState(() {
_giphyEnabled = true; _giphyEnabled = true;
}); });
}, },
icon: Icon(
StreamIcons.lightning,
),
iconSize: 14.0,
), ),
); );
} }
Widget _buildAttachmentButton() { Widget _buildAttachmentButton() {
return Center( return Center(
child: IconButton( child: InkWell(
onPressed: () { child: Icon(StreamIcons.attach),
onTap: () {
showAttachmentModal(); showAttachmentModal();
}, },
icon: Icon(StreamIcons.attach),
iconSize: 14.0,
), ),
); );
} }