اعمال تغییرات برای آپدیت اجباری اپ

This commit is contained in:
oqba26 committed 2026-08-02 12:41:20 +03:30
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
}
}
}
)