mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-11 10:33:43 +00:00
chore: Revert color changes
This commit is contained in:
parent
a327e8b0e9
commit
bf1f091f15
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue