mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-20 19:42:35 +01:00
Properly emit updates that are found
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user