mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-16 04:19:19 +00:00
Improve: Dispatcher.IO is for IO so use Default for non IO
Improve: Code cleanup
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user