اعمال تغییرات برای آپدیت اجباری اپ
This commit is contained in:
1 parent
39dfb43b17
commit
f11ce850ab
1 file changed
+10
-3
@@ -212,12 +212,19 @@ fun MainAppHost(viewModel: PersonViewModel) {
|
|||||||
scope.launch {
|
scope.launch {
|
||||||
updateManager.getDownloadProgress(id).collect { progress ->
|
updateManager.getDownloadProgress(id).collect { progress ->
|
||||||
downloadProgress = progress
|
downloadProgress = progress
|
||||||
if (progress >= 1f) isDownloading = false
|
if (progress >= 1f) {
|
||||||
}
|
isDownloading = false
|
||||||
}
|
if (!info.isForceUpdate) {
|
||||||
updateInfo = null
|
updateInfo = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!info.isForceUpdate) {
|
||||||
|
updateInfo = null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user