Center EmptyScreen message

Fixes #8212
This commit is contained in:
arkon 2022-10-16 10:36:10 -04:00
parent b6dbf63633
commit 27e5256305

View file

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