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