manager: If SELinuxStatus is the last information component, set the margin to 0.
This commit is contained in:
@@ -675,16 +675,22 @@ private fun InfoCard() {
|
||||
title = stringResource(R.string.home_fingerprint),
|
||||
content = Build.FINGERPRINT
|
||||
)
|
||||
InfoText(
|
||||
title = stringResource(R.string.home_selinux_status),
|
||||
content = getSELinuxStatus()
|
||||
)
|
||||
if (susfsPair.first == "Supported" && susfsPair.second.isNotEmpty()) {
|
||||
InfoText(
|
||||
title = stringResource(R.string.home_selinux_status),
|
||||
content = getSELinuxStatus(),
|
||||
)
|
||||
InfoText(
|
||||
title = stringResource(R.string.home_susfs_version),
|
||||
content = susfsPair.second,
|
||||
bottomPadding = 0.dp
|
||||
)
|
||||
} else {
|
||||
InfoText(
|
||||
title = stringResource(R.string.home_selinux_status),
|
||||
content = getSELinuxStatus(),
|
||||
bottomPadding = 0.dp
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user