mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-15 14:24:15 -08:00
Added setting resetting state on install screen
It will additionally show that download is complete rather than being stuck on loading.
This commit is contained in:
committed by
John Wu
parent
09ba4772b8
commit
6b0854749f
@@ -39,8 +39,7 @@ class InstallViewModel : BaseViewModel(State.LOADED) {
|
||||
}
|
||||
this.progress.value = progress.times(100).roundToInt()
|
||||
if (this.progress.value >= 100) {
|
||||
// this might cause issues if the flash activity launches on top of this sooner
|
||||
// back()
|
||||
state = State.LOADED
|
||||
}
|
||||
}
|
||||
method.addOnPropertyChangedCallback {
|
||||
|
||||
Reference in New Issue
Block a user