Skip to content

Commit

Permalink
fix: update text invisible in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
uragiristereo committed Jan 3, 2022
1 parent d43a914 commit 45463d6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ fun SplashScreen(
text = "Update required",
modifier = Modifier.padding(bottom = 8.dp),
fontWeight = FontWeight.Bold,
style = MaterialTheme.typography.h6
style = MaterialTheme.typography.h6,
color = MaterialTheme.colors.onSurface,
)
Text(
text = buildAnnotatedString {
Expand All @@ -110,7 +111,8 @@ fun SplashScreen(
append("v$latestVersion")
}
},
modifier = Modifier.padding(bottom = 16.dp)
modifier = Modifier.padding(bottom = 16.dp),
color = MaterialTheme.colors.onSurface,
)
Button(
onClick = {
Expand Down

0 comments on commit 45463d6

Please sign in to comment.