feat: update app to check for updates on app open

This commit is contained in:
2026-05-13 22:22:53 +02:00
parent 7ec9a0f41f
commit 8950a37341
5 changed files with 32 additions and 11 deletions

View File

@@ -59,6 +59,10 @@ fun AppScreen(
onPauseOrDispose { }
}
LaunchedEffect(updateViewModel) {
updateViewModel.checkForUpdatesOnAppOpen()
}
LaunchedEffect(updateViewModel) {
updateViewModel.snackbarMessages.collect { message ->
snackbarHostState.showSnackbar(message)