You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
manager: disable mount system info if ksuversion is null
This commit is contained in:
@@ -443,11 +443,12 @@ private fun InfoCard() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
val managerVersion = getManagerVersion(context)
|
if (ksuVersion != null) {
|
||||||
InfoCardItem(
|
val managerVersion = getManagerVersion(context)
|
||||||
label = stringResource(R.string.home_manager_version),
|
InfoCardItem(
|
||||||
content = "${managerVersion.first} (${managerVersion.second})",
|
label = stringResource(R.string.home_manager_version),
|
||||||
icon = painterResource(R.drawable.ic_ksu_next),
|
content = "${managerVersion.first} (${managerVersion.second})",
|
||||||
|
icon = painterResource(R.drawable.ic_ksu_next),
|
||||||
)
|
)
|
||||||
|
|
||||||
if (Natives.version >= Natives.MINIMAL_SUPPORTED_HOOK_MODE) {
|
if (Natives.version >= Natives.MINIMAL_SUPPORTED_HOOK_MODE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user