fix: Fix sizes and colors

This commit is contained in:
Deven Joshi
2020-11-04 15:28:42 +05:30
parent 8949598e2f
commit c605821940
+4 -1
View File
@@ -102,7 +102,7 @@ class GiphyAttachment extends StatelessWidget {
Icon( Icon(
StreamIcons.lightning, StreamIcons.lightning,
color: StreamChatTheme.of(context).accentColor, color: StreamChatTheme.of(context).accentColor,
size: 15.0, size: 16.0,
), ),
Text( Text(
'GIPHY', 'GIPHY',
@@ -142,6 +142,7 @@ class GiphyAttachment extends StatelessWidget {
shape: CircleBorder(), shape: CircleBorder(),
), ),
Expanded( Expanded(
child: Center(
child: Text( child: Text(
'"${attachment.title}"', '"${attachment.title}"',
style: TextStyle( style: TextStyle(
@@ -149,6 +150,7 @@ class GiphyAttachment extends StatelessWidget {
), ),
), ),
), ),
),
Card( Card(
child: IconButton( child: IconButton(
icon: Icon( icon: Icon(
@@ -191,6 +193,7 @@ class GiphyAttachment extends StatelessWidget {
'Cancel', 'Cancel',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.black.withOpacity(0.5)
), ),
), ),
], ],