اعمال تغییرات برای آپدیت اجباری اپ
This commit is contained in:
1 parent
39dfb43b17
commit
f11ce850ab
1 file changed
+9
-2
@@ -212,10 +212,17 @@ fun MainAppHost(viewModel: PersonViewModel) {
|
||||
scope.launch {
|
||||
updateManager.getDownloadProgress(id).collect { 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