Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #25938: Address MessageCard text not adapting to the dark theme
Browse files Browse the repository at this point in the history
(cherry picked from commit e1b7262)
  • Loading branch information
Amejia481 authored and mergify[bot] committed Jul 8, 2022
1 parent 6904f4e commit 1768d54
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 1768d54

Please sign in to comment.