For #25938: Address MessageCard text not adapting to the dark theme

(cherry picked from commit e1b7262ca8)
This commit is contained in:
Arturo Mejia 2022-07-07 17:07:07 -04:00
parent 7d343dee3f
commit 9aa86cd7bb

View File

@ -95,7 +95,8 @@ fun MessageCard(
Text(
text = message.data.text,
modifier = Modifier.fillMaxWidth(),
fontSize = 14.sp
fontSize = 14.sp,
color = FirefoxTheme.colors.textSecondary,
)
} else {
Row(
@ -104,7 +105,8 @@ fun MessageCard(
Text(
text = message.data.text,
modifier = Modifier.weight(1f),
fontSize = 14.sp
fontSize = 14.sp,
color = FirefoxTheme.colors.textPrimary,
)
IconButton(