You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Rename method
This commit is contained in:
@@ -78,8 +78,10 @@ class InstallViewModel(
|
||||
step = nextStep
|
||||
}
|
||||
|
||||
fun install() =
|
||||
DownloadService(get(), Subject.Magisk(resolveAction())).also { state = State.LOADING }
|
||||
fun install() {
|
||||
DownloadService.start(get(), Subject.Magisk(resolveAction()))
|
||||
state = State.LOADING
|
||||
}
|
||||
|
||||
// ---
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ class SettingsViewModel(
|
||||
}
|
||||
|
||||
private fun restoreManager() {
|
||||
DownloadService(get(), Subject.Manager(Action.APK.Restore))
|
||||
DownloadService.start(get(), Subject.Manager(Action.APK.Restore))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user