From 45463d69542177ed7833ee7e82d6cb5143acd8c1 Mon Sep 17 00:00:00 2001 From: Agung Watanabe Date: Mon, 3 Jan 2022 13:38:38 +0700 Subject: [PATCH] fix: update text invisible in dark theme --- .../mejiboard/presentation/splash/SplashScreen.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-alpha/src/main/java/com/github/uragiristereo/mejiboard/presentation/splash/SplashScreen.kt b/app-alpha/src/main/java/com/github/uragiristereo/mejiboard/presentation/splash/SplashScreen.kt index 1683abf..49171ce 100644 --- a/app-alpha/src/main/java/com/github/uragiristereo/mejiboard/presentation/splash/SplashScreen.kt +++ b/app-alpha/src/main/java/com/github/uragiristereo/mejiboard/presentation/splash/SplashScreen.kt @@ -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 { @@ -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 = {