manager: fix logical confusion
This commit is contained in:
@@ -162,7 +162,7 @@ fun HomeScreen(navigator: DestinationsNavigator) {
|
|||||||
val shouldShowWarnings = viewModel.systemStatus.requireNewKernel ||
|
val shouldShowWarnings = viewModel.systemStatus.requireNewKernel ||
|
||||||
(viewModel.systemStatus.ksuVersion != null && !viewModel.systemStatus.isRootAvailable)
|
(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()
|
IncompatibleKernelCard()
|
||||||
Spacer(Modifier.height(12.dp))
|
Spacer(Modifier.height(12.dp))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -731,4 +731,5 @@ Important Note:\n
|
|||||||
<string name="miui_uninstall_content">Proceeding with the uninstallation will not affect the core functionality of your root access. The root is designed to operate independently of this manager.</string>
|
<string name="miui_uninstall_content">Proceeding with the uninstallation will not affect the core functionality of your root access. The root is designed to operate independently of this manager.</string>
|
||||||
<string name="incompatible_kernel_msg">
|
<string name="incompatible_kernel_msg">
|
||||||
The current manager is incompatible with this kernel! Please upgrade the kernel to version %2$d or higher (currently %1$d)
|
The current manager is incompatible with this kernel! Please upgrade the kernel to version %2$d or higher (currently %1$d)
|
||||||
|
</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user