Properly emit updates that are found

This commit is contained in:
Syer10
2022-04-02 15:22:50 -04:00
parent 17d1b03f0a
commit d444c24257

View File

@@ -61,6 +61,7 @@ class AboutViewModel @Inject constructor(
updateChecker.checkForUpdates() updateChecker.checkForUpdates()
.filterIsInstance<Update.UpdateFound>() .filterIsInstance<Update.UpdateFound>()
.onEach { .onEach {
_updates.emit(it)
} }
.launchIn(scope) .launchIn(scope)
} }