Skip to content

Commit

Permalink
For mozilla-mobile#25938: Address MessageCard text not adapting to th…
Browse files Browse the repository at this point in the history
…e dark theme
  • Loading branch information
Amejia481 committed Jul 7, 2022
1 parent 7d37c2b commit 9bdb197
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/src/main/java/org/mozilla/fenix/compose/MessageCard.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit 9bdb197

Please sign in to comment.