Fix a crash related to default network config.

This commit is contained in:
Thomas Andres Gomez 2025-03-17 13:32:49 +01:00
parent a617d4ba7b
commit e2b3b54f88
18 changed files with 153 additions and 119 deletions

View file

@ -36,7 +36,7 @@ class DataSyncViewModel(
networkRepository.status
.filter { status -> status == NetworkRepository.Status.CONNECTED }
.onEach { campaignRepository.update() }
.onEach { campaignRepository.campaign(update = true) }
.launchIn(this)
networkRepository.status