chore: Revert color changes

pull/633/head
krille-chan 2 years ago
parent a327e8b0e9
commit bf1f091f15
No known key found for this signature in database

@ -84,7 +84,7 @@ class Message extends StatelessWidget {
nextEvent!.senderId == event.senderId &&
!displayTime;
final textColor = ownMessage
? Theme.of(context).colorScheme.onPrimaryContainer
? Theme.of(context).colorScheme.onPrimary
: Theme.of(context).colorScheme.onBackground;
final rowMainAxisAlignment =
ownMessage ? MainAxisAlignment.end : MainAxisAlignment.start;
@ -114,7 +114,7 @@ class Message extends StatelessWidget {
if (ownMessage) {
color = displayEvent.status.isError
? Colors.redAccent
: Theme.of(context).colorScheme.primaryContainer;
: Theme.of(context).colorScheme.primary;
}
final row = Row(

Loading…
Cancel
Save