fix: No need to cast

This commit is contained in:
ziro 2024-02-03 15:19:52 +07:00
parent c3713710c8
commit a86b66407c
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -342,7 +342,6 @@ class SettingsAdvancedController : SettingsController() {
entryValues = values.map { it.name }.toTypedArray().toList()
onChange {
it as ExtensionInstaller
if (it == ExtensionInstaller.SHIZUKU) {
return@onChange if (!context.isPackageInstalled(ShizukuInstaller.shizukuPkgName) && !Sui.isSui()) {
context.materialAlertDialog()