feat: corrected text styles
This commit is contained in:
@@ -313,10 +313,13 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
|
|||||||
FlatButton(
|
FlatButton(
|
||||||
child: Text(
|
child: Text(
|
||||||
'OK',
|
'OK',
|
||||||
style: TextStyle(
|
style: StreamChatTheme.of(context)
|
||||||
color:
|
.textTheme
|
||||||
StreamChatTheme.of(context).colorTheme.accentBlue,
|
.bodyBold
|
||||||
fontWeight: FontWeight.w400),
|
.copyWith(
|
||||||
|
color: StreamChatTheme.of(context)
|
||||||
|
.colorTheme
|
||||||
|
.accentBlue),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
@@ -375,10 +378,13 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
|
|||||||
FlatButton(
|
FlatButton(
|
||||||
child: Text(
|
child: Text(
|
||||||
'OK',
|
'OK',
|
||||||
style: TextStyle(
|
style: StreamChatTheme.of(context)
|
||||||
color:
|
.textTheme
|
||||||
StreamChatTheme.of(context).colorTheme.accentBlue,
|
.bodyBold
|
||||||
fontWeight: FontWeight.w400),
|
.copyWith(
|
||||||
|
color: StreamChatTheme.of(context)
|
||||||
|
.colorTheme
|
||||||
|
.accentBlue),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
|||||||
+11
-8
@@ -67,12 +67,10 @@ Future<bool> showConfirmationDialog(
|
|||||||
FlatButton(
|
FlatButton(
|
||||||
child: Text(
|
child: Text(
|
||||||
cancelText,
|
cancelText,
|
||||||
style: TextStyle(
|
style: StreamChatTheme.of(context)
|
||||||
color: StreamChatTheme.of(context)
|
.textTheme
|
||||||
.colorTheme
|
.bodyBold
|
||||||
.black
|
.copyWith(color: Colors.black.withOpacity(0.5)),
|
||||||
.withOpacity(0.5),
|
|
||||||
fontWeight: FontWeight.w400),
|
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.of(context).pop(false);
|
Navigator.of(context).pop(false);
|
||||||
@@ -81,8 +79,13 @@ Future<bool> showConfirmationDialog(
|
|||||||
FlatButton(
|
FlatButton(
|
||||||
child: Text(
|
child: Text(
|
||||||
okText,
|
okText,
|
||||||
style: TextStyle(
|
style: StreamChatTheme.of(context)
|
||||||
color: Colors.red, fontWeight: FontWeight.w400),
|
.textTheme
|
||||||
|
.bodyBold
|
||||||
|
.copyWith(
|
||||||
|
color: StreamChatTheme.of(context)
|
||||||
|
.colorTheme
|
||||||
|
.accentRed),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(context, true);
|
Navigator.pop(context, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user