[FIX] Roles rendering on dark theme (#3589)
This commit is contained in:
parent
d7dd557b6b
commit
8d2226c279
|
@ -15,8 +15,8 @@ const Roles = ({ roles, theme }) =>
|
||||||
<View style={styles.rolesContainer}>
|
<View style={styles.rolesContainer}>
|
||||||
{roles.map(role =>
|
{roles.map(role =>
|
||||||
role ? (
|
role ? (
|
||||||
<View style={[styles.roleBadge, { backgroundColor: themes[theme].auxiliaryBackground }]} key={role}>
|
<View style={[styles.roleBadge, { backgroundColor: themes[theme].chatComponentBackground }]} key={role}>
|
||||||
<Text style={styles.role}>{role}</Text>
|
<Text style={[styles.role, { color: themes[theme].titleText }]}>{role}</Text>
|
||||||
</View>
|
</View>
|
||||||
) : null
|
) : null
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue