mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-22 03:05:11 +00:00
fixed a bug
This commit is contained in:
parent
c43475af2c
commit
6f11a9c92b
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ open class BaseFragment : Fragment() {
|
|||
downloadEn(loadBar, dlText)
|
||||
else {
|
||||
dlText.visibility = View.GONE
|
||||
prefs.edit()?.putBoolean("isDownloading", true)?.apply()
|
||||
prefs.edit()?.putBoolean("isDownloading", false)?.apply()
|
||||
launchInstaller()
|
||||
}
|
||||
},
|
||||
|
@ -186,7 +186,7 @@ open class BaseFragment : Fragment() {
|
|||
onComplete = {
|
||||
loadBar.visibility = View.GONE
|
||||
dlText.visibility = View.GONE
|
||||
prefs?.edit()?.putBoolean("isDownloading", true)?.apply()
|
||||
prefs?.edit()?.putBoolean("isDownloading", false)?.apply()
|
||||
launchInstaller()
|
||||
},
|
||||
onError = { throwable ->
|
||||
|
|
Loading…
Reference in a new issue