mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Incorrect cast class
This commit is contained in:
parent
747b7bc92b
commit
c64f0c76a9
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class SettingsAdvancedController : SettingsController() {
|
|||
entryValues = values.map { it.name }.toTypedArray().toList()
|
||||
|
||||
onChange {
|
||||
it as Int
|
||||
it as ExtensionInstaller
|
||||
if (it == ExtensionInstaller.SHIZUKU) {
|
||||
return@onChange if (!context.isPackageInstalled(ShizukuInstaller.shizukuPkgName) && !Sui.isSui()) {
|
||||
context.materialAlertDialog()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue