manager: fix logical confusion

This commit is contained in:
ShirkNeko
2025-11-04 12:22:49 +08:00
parent 18e60ededa
commit e99a14290f
2 changed files with 2 additions and 1 deletions

View File

@@ -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))
}