Use different name color for dark mode (#3694)
This commit is contained in:
parent
ca65c8c2ea
commit
25e72f440d
1 changed files with 7 additions and 3 deletions
|
|
@ -93,9 +93,13 @@ class ActivityParticipantIndicator extends StatelessWidget {
|
|||
L10n.of(context).openRoleLabel,
|
||||
style: TextStyle(
|
||||
fontSize: 12.0,
|
||||
color: assignedRole
|
||||
?.userId.localpart?.lightColorAvatar ??
|
||||
assignedRole?.role?.lightColorAvatar,
|
||||
color:
|
||||
(Theme.of(context).brightness == Brightness.light
|
||||
? assignedRole
|
||||
?.userId.localpart?.lightColorAvatar
|
||||
: assignedRole
|
||||
?.userId.localpart?.lightColorText) ??
|
||||
assignedRole?.role?.lightColorAvatar,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue