chore: Follow up message bubble colors

This commit is contained in:
Krille 2025-02-05 15:50:31 +01:00
parent efd4811569
commit d7ac0aa605
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -157,7 +157,9 @@ class Message extends StatelessWidget {
if (ownMessage) {
color = displayEvent.status.isError
? Colors.redAccent
: theme.colorScheme.onPrimaryFixedVariant;
: theme.brightness == Brightness.light
? theme.colorScheme.primary
: theme.colorScheme.primaryContainer;
}
final resetAnimateIn = this.resetAnimateIn;