Fix last sync date to save only successful sync (#1595)

This commit is contained in:
Rafał Borcz
2021-10-21 10:47:37 +02:00
committed by GitHub
parent 58ea2c530e
commit 09a134d442
9 changed files with 37 additions and 38 deletions

View File

@ -31,7 +31,7 @@ class LicensePresenter @Inject constructor(
private fun loadData() {
flowWithResource {
withContext(dispatchers.backgroundThread) {
withContext(dispatchers.io) {
view?.appLibraries.orEmpty()
}
}.onEach {