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