Răsfoiți Sursa

Center EmptyScreen message

Fixes #8212
arkon 2 ani în urmă
părinte
comite
27e5256305

+ 1 - 0
app/src/main/java/eu/kanade/presentation/components/EmptyScreen.kt

@@ -72,6 +72,7 @@ fun EmptyScreen(
                     text = message,
                     modifier = Modifier.paddingFromBaseline(top = 24.dp).secondaryItemAlpha(),
                     style = MaterialTheme.typography.bodyMedium,
+                    textAlign = TextAlign.Center,
                 )
             }
             if (!actions.isNullOrEmpty()) {