Add dark/light mode check for unassigned participant label color (#4006)
This commit is contained in:
parent
802465c92c
commit
f9dec3152b
1 changed files with 3 additions and 3 deletions
|
|
@ -106,9 +106,9 @@ class ActivityParticipantIndicator extends StatelessWidget {
|
|||
style: TextStyle(
|
||||
fontSize: 12.0,
|
||||
color: (Theme.of(context).brightness == Brightness.light
|
||||
? userId?.localpart?.darkColor
|
||||
: userId?.localpart?.lightColorText) ??
|
||||
name.lightColorAvatar,
|
||||
? (userId?.localpart?.darkColor ?? name.darkColor)
|
||||
: (userId?.localpart?.lightColorText ??
|
||||
name.lightColorText)),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue