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),
|
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
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user