fix: display name contrast in dark mode
This commit is contained in:
parent
a4dac91d39
commit
704ee5ef9c
2 changed files with 5 additions and 2 deletions
|
|
@ -165,7 +165,10 @@ class Message extends StatelessWidget {
|
|||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: displayname.color,
|
||||
color: (Theme.of(context).brightness ==
|
||||
Brightness.light
|
||||
? displayname.color
|
||||
: displayname.lightColor),
|
||||
),
|
||||
);
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue