chore: Follow up message bubble colors
This commit is contained in:
parent
efd4811569
commit
d7ac0aa605
1 changed files with 3 additions and 1 deletions
|
|
@ -157,7 +157,9 @@ class Message extends StatelessWidget {
|
||||||
if (ownMessage) {
|
if (ownMessage) {
|
||||||
color = displayEvent.status.isError
|
color = displayEvent.status.isError
|
||||||
? Colors.redAccent
|
? Colors.redAccent
|
||||||
: theme.colorScheme.onPrimaryFixedVariant;
|
: theme.brightness == Brightness.light
|
||||||
|
? theme.colorScheme.primary
|
||||||
|
: theme.colorScheme.primaryContainer;
|
||||||
}
|
}
|
||||||
|
|
||||||
final resetAnimateIn = this.resetAnimateIn;
|
final resetAnimateIn = this.resetAnimateIn;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue