Improve: Dispatcher.IO is for IO so use Default for non IO

Improve: Code cleanup
This commit is contained in:
LooKeR
2021-11-23 19:46:16 +05:30
parent cff28f14a3
commit e2781e5e9c
5 changed files with 48 additions and 62 deletions

View File

@ -83,8 +83,8 @@ object Utils {
}
val rootInstallerEnabled: Boolean
get() = Preferences[Preferences.Key.RootPermission] && (Shell.getCachedShell()?.isRoot
?: Shell.getShell().isRoot)
get() = Preferences[Preferences.Key.RootPermission] &&
(Shell.getCachedShell()?.isRoot ?: Shell.getShell().isRoot)
fun startUpdate(
packageName: String,