fix: Fix sizes and colors

This commit is contained in:
Deven Joshi
2020-11-04 15:28:42 +05:30
parent 8949598e2f
commit c605821940
+8 -5
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,10 +142,12 @@ class GiphyAttachment extends StatelessWidget {
shape: CircleBorder(), shape: CircleBorder(),
), ),
Expanded( Expanded(
child: Text( child: Center(
'"${attachment.title}"', child: Text(
style: TextStyle( '"${attachment.title}"',
fontStyle: FontStyle.italic, style: TextStyle(
fontStyle: FontStyle.italic,
),
), ),
), ),
), ),
@@ -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)
), ),
), ),
], ],