manager: If SELinuxStatus is the last information component, set the margin to 0.

This commit is contained in:
ShirkNeko
2025-11-19 23:49:24 +08:00
parent bc3399fd1b
commit d7878ddd45

View File

@@ -675,16 +675,22 @@ private fun InfoCard() {
title = stringResource(R.string.home_fingerprint), title = stringResource(R.string.home_fingerprint),
content = Build.FINGERPRINT content = Build.FINGERPRINT
) )
if (susfsPair.first == "Supported" && susfsPair.second.isNotEmpty()) {
InfoText( InfoText(
title = stringResource(R.string.home_selinux_status), title = stringResource(R.string.home_selinux_status),
content = getSELinuxStatus() content = getSELinuxStatus(),
) )
if (susfsPair.first == "Supported" && susfsPair.second.isNotEmpty()) {
InfoText( InfoText(
title = stringResource(R.string.home_susfs_version), title = stringResource(R.string.home_susfs_version),
content = susfsPair.second, content = susfsPair.second,
bottomPadding = 0.dp bottomPadding = 0.dp
) )
} else {
InfoText(
title = stringResource(R.string.home_selinux_status),
content = getSELinuxStatus(),
bottomPadding = 0.dp
)
} }
} }
} }