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

This commit is contained in:
oqba26 committed 2026-08-02 12:41:20 +03:30
1 parent 39dfb43b17
commit f11ce850ab
1 file changed
+10 -3
@@ -212,12 +212,19 @@ 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
}
}
}
}
if (!info.isForceUpdate) {
updateInfo = null
}
}
}
)
}