From c605821940a8005af0b0ad6ba684c836d4795888 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 4 Nov 2020 15:28:42 +0530 Subject: [PATCH] fix: Fix sizes and colors --- lib/src/giphy_attachment.dart | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/src/giphy_attachment.dart b/lib/src/giphy_attachment.dart index 73278fb7..fded52cc 100644 --- a/lib/src/giphy_attachment.dart +++ b/lib/src/giphy_attachment.dart @@ -102,7 +102,7 @@ class GiphyAttachment extends StatelessWidget { Icon( StreamIcons.lightning, color: StreamChatTheme.of(context).accentColor, - size: 15.0, + size: 16.0, ), Text( 'GIPHY', @@ -142,10 +142,12 @@ class GiphyAttachment extends StatelessWidget { shape: CircleBorder(), ), Expanded( - child: Text( - '"${attachment.title}"', - style: TextStyle( - fontStyle: FontStyle.italic, + child: Center( + child: Text( + '"${attachment.title}"', + style: TextStyle( + fontStyle: FontStyle.italic, + ), ), ), ), @@ -191,6 +193,7 @@ class GiphyAttachment extends StatelessWidget { 'Cancel', style: TextStyle( fontWeight: FontWeight.bold, + color: Colors.black.withOpacity(0.5) ), ), ],