0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-22 03:05:11 +00:00

fixed a bug

This commit is contained in:
X1nto 2020-05-27 00:25:08 +04:00
parent c43475af2c
commit 6f11a9c92b

View file

@ -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 ->