mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
[widgets] fix color contrast on display names on messages in dark mode
This commit is contained in:
parent
f8f09a2673
commit
ca1ed266f0
@ -242,7 +242,10 @@ class _MetaRow extends StatelessWidget {
|
||||
style: TextStyle(
|
||||
fontSize: 11 * AppConfig.fontSizeFactor,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: displayname.color.withAlpha(200),
|
||||
color: (Theme.of(context).brightness == Brightness.light
|
||||
? displayname.darkColor
|
||||
: displayname.lightColor)
|
||||
.withAlpha(200),
|
||||
),
|
||||
),
|
||||
if (showDisplayname) SizedBox(width: 4),
|
||||
|
Loading…
Reference in New Issue
Block a user