feat: corrected text styles

This commit is contained in:
Deven Joshi
2021-01-11 21:29:31 +05:30
parent c987066329
commit 6274f1437e
2 changed files with 25 additions and 16 deletions
+14 -8
View File
@@ -313,10 +313,13 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
FlatButton(
child: Text(
'OK',
style: TextStyle(
color:
StreamChatTheme.of(context).colorTheme.accentBlue,
fontWeight: FontWeight.w400),
style: StreamChatTheme.of(context)
.textTheme
.bodyBold
.copyWith(
color: StreamChatTheme.of(context)
.colorTheme
.accentBlue),
),
onPressed: () {
Navigator.of(context).pop();
@@ -375,10 +378,13 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
FlatButton(
child: Text(
'OK',
style: TextStyle(
color:
StreamChatTheme.of(context).colorTheme.accentBlue,
fontWeight: FontWeight.w400),
style: StreamChatTheme.of(context)
.textTheme
.bodyBold
.copyWith(
color: StreamChatTheme.of(context)
.colorTheme
.accentBlue),
),
onPressed: () {
Navigator.of(context).pop();