manager: Only display the option to use LKM files when the kernel version is greater than 5.10
This commit is contained in:
@@ -353,6 +353,7 @@ fun InstallScreen(
|
||||
.fillMaxWidth()
|
||||
.padding(16.dp)
|
||||
) {
|
||||
if (isGKI) {
|
||||
// 使用本地的LKM文件
|
||||
ElevatedCard(
|
||||
colors = getCardColors(MaterialTheme.colorScheme.surfaceVariant),
|
||||
@@ -386,6 +387,7 @@ fun InstallScreen(
|
||||
.clickable { onLkmUpload() }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
(installMethod as? InstallMethod.HorizonKernel)?.let { method ->
|
||||
if (method.slot != null) {
|
||||
|
||||
Reference in New Issue
Block a user