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 =
|
final displayEvent =
|
||||||
timeline != null ? replyEvent.getDisplayEvent(timeline) : replyEvent;
|
timeline != null ? replyEvent.getDisplayEvent(timeline) : replyEvent;
|
||||||
final fontSize = AppConfig.messageFontSize * AppConfig.fontSizeFactor;
|
final fontSize = AppConfig.messageFontSize * AppConfig.fontSizeFactor;
|
||||||
final color = ownMessage
|
final color = theme.brightness == Brightness.light
|
||||||
? theme.colorScheme.tertiaryContainer
|
? ownMessage
|
||||||
: theme.colorScheme.tertiary;
|
? theme.colorScheme.onTertiaryContainer
|
||||||
|
: theme.colorScheme.onTertiary
|
||||||
|
: ownMessage
|
||||||
|
? theme.colorScheme.tertiaryContainer
|
||||||
|
: theme.colorScheme.tertiary;
|
||||||
|
|
||||||
return Material(
|
return Material(
|
||||||
color: backgroundColor ??
|
color: backgroundColor ??
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue