manager: fix the text 'No module installed' is not centered (#803)

This commit is contained in:
TinyHai
2023-07-25 18:47:09 +08:00
committed by GitHub
parent a966252fa5
commit b732765811

View File

@@ -205,7 +205,8 @@ private fun ModuleList(
if (isEmpty) {
item {
Box(
modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center
modifier = Modifier.fillParentMaxSize(),
contentAlignment = Alignment.Center
) {
Text(stringResource(R.string.module_empty))
}