From e99a14290f5e8e9a2eb2ab19026f798c7015088d Mon Sep 17 00:00:00 2001
From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
Date: Tue, 4 Nov 2025 12:22:49 +0800
Subject: [PATCH] manager: fix logical confusion
---
manager/app/src/main/java/com/sukisu/ultra/ui/screen/Home.kt | 2 +-
manager/app/src/main/res/values/strings.xml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Home.kt b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Home.kt
index e340f0e9..cb0d1eae 100644
--- a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Home.kt
+++ b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Home.kt
@@ -162,7 +162,7 @@ fun HomeScreen(navigator: DestinationsNavigator) {
val shouldShowWarnings = viewModel.systemStatus.requireNewKernel ||
(viewModel.systemStatus.ksuVersion != null && !viewModel.systemStatus.isRootAvailable)
- if (Natives.version >= Natives.MINIMAL_NEW_IOCTL_KERNEL && !shouldShowWarnings) {
+ if (Natives.version <= Natives.MINIMAL_NEW_IOCTL_KERNEL && !shouldShowWarnings) {
IncompatibleKernelCard()
Spacer(Modifier.height(12.dp))
}
diff --git a/manager/app/src/main/res/values/strings.xml b/manager/app/src/main/res/values/strings.xml
index 15cb5e87..6ec1f0aa 100644
--- a/manager/app/src/main/res/values/strings.xml
+++ b/manager/app/src/main/res/values/strings.xml
@@ -731,4 +731,5 @@ Important Note:\n
Proceeding with the uninstallation will not affect the core functionality of your root access. The root is designed to operate independently of this manager.
The current manager is incompatible with this kernel! Please upgrade the kernel to version %2$d or higher (currently %1$d)
+