feat: wip message input
This commit is contained in:
@@ -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,
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user