chore: Follow up reply color

This commit is contained in:
Krille 2025-01-22 19:55:48 +01:00
parent 6f18f71644
commit 7504756caf
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -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 ??