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

This commit is contained in:
Arturo Mejia 2022-07-07 17:07:07 -04:00 committed by mergify[bot]
parent 261569c2c5
commit e1b7262ca8
1 changed files with 4 additions and 2 deletions

View File

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