fix unable to use App installer

close #47
This commit is contained in:
BinTianqi
2024-07-16 16:56:17 +08:00
parent 168ed085c4
commit 7156e1ebeb

View File

@@ -115,7 +115,10 @@ class InstallAppActivity: FragmentActivity() {
} }
val installDone by installAppDone.collectAsState() val installDone by installAppDone.collectAsState()
LaunchedEffect(installDone) { LaunchedEffect(installDone) {
if(installDone) finish() if(installDone) {
installAppDone.value = false
finish()
}
} }
} }
} }