mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01:00
Design color
This commit is contained in:
parent
0ce9635e8d
commit
bac298bf75
@ -18,13 +18,13 @@ class StateMessage extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: Bubble(
|
child: Bubble(
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
color: Theme.of(context).backgroundColor.withOpacity(0.5),
|
color: Theme.of(context).backgroundColor.withOpacity(0.66),
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: Text(
|
child: Text(
|
||||||
event.getLocalizedBody(context),
|
event.getLocalizedBody(context),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).textTheme.body1.color,
|
||||||
decoration: event.redacted ? TextDecoration.lineThrough : null,
|
decoration: event.redacted ? TextDecoration.lineThrough : null,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user