Skip to content

Commit

Permalink
fixed text color in menu after theme change
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Feb 2, 2023
1 parent c4f7f02 commit c9cb8e7
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,24 +125,28 @@ fun HomeScreen(component: HomeComponent) {
component.onSettingsClicked()
}, enabled = true, text = {
Text(
text = strings.settings
text = strings.settings,
color = MaterialTheme.colorScheme.onSurface
)
}, icon = {
Icon(
imageVector = Icons.Default.Settings,
contentDescription = strings.settings
contentDescription = strings.settings,
tint = MaterialTheme.colorScheme.onSurface
)
})
DropdownMenuItem(onClick = {
component.onAboutClicked()
}, enabled = true, text = {
Text(
text = strings.about
text = strings.about,
color = MaterialTheme.colorScheme.onSurface
)
}, icon = {
Icon(
imageVector = Icons.Default.Info,
contentDescription = strings.about
contentDescription = strings.about,
tint = MaterialTheme.colorScheme.onSurface
)
})
}
Expand Down

0 comments on commit c9cb8e7

Please sign in to comment.