Add dark/light mode check for unassigned participant label color (#4006)

This commit is contained in:
Kelrap 2025-09-17 14:37:50 -04:00 committed by GitHub
parent 802465c92c
commit f9dec3152b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)),
),
),
],