mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-25 20:55:12 +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)
|
downloadEn(loadBar, dlText)
|
||||||
else {
|
else {
|
||||||
dlText.visibility = View.GONE
|
dlText.visibility = View.GONE
|
||||||
prefs.edit()?.putBoolean("isDownloading", true)?.apply()
|
prefs.edit()?.putBoolean("isDownloading", false)?.apply()
|
||||||
launchInstaller()
|
launchInstaller()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -186,7 +186,7 @@ open class BaseFragment : Fragment() {
|
||||||
onComplete = {
|
onComplete = {
|
||||||
loadBar.visibility = View.GONE
|
loadBar.visibility = View.GONE
|
||||||
dlText.visibility = View.GONE
|
dlText.visibility = View.GONE
|
||||||
prefs?.edit()?.putBoolean("isDownloading", true)?.apply()
|
prefs?.edit()?.putBoolean("isDownloading", false)?.apply()
|
||||||
launchInstaller()
|
launchInstaller()
|
||||||
},
|
},
|
||||||
onError = { throwable ->
|
onError = { throwable ->
|
||||||
|
|
Loading…
Reference in a new issue