fix: Corrected padding and giphy chip

This commit is contained in:
Deven Joshi
2020-10-19 12:02:01 +05:30
parent 11eb295c89
commit 95e7fd22bb
+3 -2
View File
@@ -298,6 +298,7 @@ class MessageInputState extends State<MessageInput> {
prefix: _giphyEnabled ? Chip(
backgroundColor: StreamChatTheme.of(context).accentColor,
label: Row(
mainAxisSize: MainAxisSize.min,
children: [
Icon(StreamIcons.lightning, color: Colors.white,),
SizedBox(width: 2,),
@@ -646,7 +647,7 @@ class MessageInputState extends State<MessageInput> {
return Center(
child: InkWell(
child: Padding(
padding: const EdgeInsets.all(8.0),
padding: const EdgeInsets.only(left: 8.0, right: 4.0, top: 8.0, bottom: 8.0),
child: Icon(StreamIcons.lightning),
),
onTap: () {
@@ -662,7 +663,7 @@ class MessageInputState extends State<MessageInput> {
return Center(
child: InkWell(
child: Padding(
padding: const EdgeInsets.all(8.0),
padding: const EdgeInsets.only(left: 4.0, right: 8.0, top: 8.0, bottom: 8.0),
child: Icon(StreamIcons.attach),
),
onTap: () {