[FIX] Roles rendering on dark theme (#3589)

This commit is contained in:
Reinaldo Neto 2022-01-11 11:33:18 -03:00 committed by GitHub
parent d7dd557b6b
commit 8d2226c279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ const Roles = ({ roles, theme }) =>
<View style={styles.rolesContainer}>
{roles.map(role =>
role ? (
<View style={[styles.roleBadge, { backgroundColor: themes[theme].auxiliaryBackground }]} key={role}>
<Text style={styles.role}>{role}</Text>
<View style={[styles.roleBadge, { backgroundColor: themes[theme].chatComponentBackground }]} key={role}>
<Text style={[styles.role, { color: themes[theme].titleText }]}>{role}</Text>
</View>
) : null
)}