Add the edit & create character to the gamemaster screen.

This commit is contained in:
Thomas Andres Gomez 2025-03-16 17:47:38 +01:00
parent 662e270f3f
commit 2056348ec0
30 changed files with 420 additions and 143 deletions

View file

@ -39,6 +39,11 @@ class DataSyncViewModel(
.onEach { campaignRepository.update() }
.launchIn(this)
networkRepository.status
.filter { status -> status == NetworkRepository.Status.CONNECTED }
.onEach { characterRepository.updateCharacterPreviews() }
.launchIn(this)
networkRepository.status
.filter { status -> status == NetworkRepository.Status.CONNECTED }
.combine(campaignRepository.campaignFlow) { _, campaign: Campaign -> campaign }