manager: Fixed warning card status error

- Reuse your own DDK
This commit is contained in:
ShirkNeko
2025-11-04 20:30:04 +08:00
parent 8177afa81e
commit 4a610af452
2 changed files with 2 additions and 2 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 && viewModel.systemStatus.ksuVersion != null) {
IncompatibleKernelCard()
Spacer(Modifier.height(12.dp))
}