[skip ci] manager: Fix unintended LKM dialog when selecting AnyKernel3 install method (#234)

This fixes a logic issue where the KMI selection dialog would still appear
even when the user selected the AnyKernel3 install method.

Signed-off-by: prslc <prslc113@gmail.com>
This commit is contained in:
Prslc
2025-06-29 12:30:34 +08:00
committed by GitHub
parent 8399f14fad
commit 80f89c0241

View File

@@ -186,7 +186,7 @@ fun InstallScreen(navigator: DestinationsNavigator) {
} }
val onClickNext = { val onClickNext = {
if (isGKI && lkmSelection == LkmSelection.KmiNone && currentKmi.isBlank()) { if (isGKI && lkmSelection == LkmSelection.KmiNone && currentKmi.isBlank() && installMethod !is InstallMethod.HorizonKernel) {
selectKmiDialog.show() selectKmiDialog.show()
} else { } else {
onInstall() onInstall()