From 4e544005fed41d7f817bd6903d6cb03ad4df9f0b Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Sat, 15 Oct 2022 00:27:52 +0800 Subject: [PATCH] Fix empty screen font style (#8197) --- .../java/eu/kanade/presentation/components/EmptyScreen.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/presentation/components/EmptyScreen.kt b/app/src/main/java/eu/kanade/presentation/components/EmptyScreen.kt index 7b7f889c5..42c4014e1 100644 --- a/app/src/main/java/eu/kanade/presentation/components/EmptyScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/components/EmptyScreen.kt @@ -26,7 +26,6 @@ import androidx.compose.ui.graphics.vector.ImageVector import androidx.compose.ui.layout.Layout import androidx.compose.ui.layout.layoutId import androidx.compose.ui.res.stringResource -import androidx.compose.ui.text.font.FontFamily import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp @@ -66,13 +65,12 @@ fun EmptyScreen( Text( text = face, modifier = Modifier.secondaryItemAlpha(), - fontFamily = FontFamily.Monospace, style = MaterialTheme.typography.displayMedium, ) Text( text = message, - modifier = Modifier.paddingFromBaseline(top = 24.dp), + modifier = Modifier.paddingFromBaseline(top = 24.dp).secondaryItemAlpha(), style = MaterialTheme.typography.bodyMedium, ) }