chore: Follow up reply color
This commit is contained in:
parent
6f18f71644
commit
7504756caf
1 changed files with 7 additions and 3 deletions
|
|
@ -33,9 +33,13 @@ class ReplyContent extends StatelessWidget {
|
|||
final displayEvent =
|
||||
timeline != null ? replyEvent.getDisplayEvent(timeline) : replyEvent;
|
||||
final fontSize = AppConfig.messageFontSize * AppConfig.fontSizeFactor;
|
||||
final color = ownMessage
|
||||
? theme.colorScheme.tertiaryContainer
|
||||
: theme.colorScheme.tertiary;
|
||||
final color = theme.brightness == Brightness.light
|
||||
? ownMessage
|
||||
? theme.colorScheme.onTertiaryContainer
|
||||
: theme.colorScheme.onTertiary
|
||||
: ownMessage
|
||||
? theme.colorScheme.tertiaryContainer
|
||||
: theme.colorScheme.tertiary;
|
||||
|
||||
return Material(
|
||||
color: backgroundColor ??
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue