Fix refresh the description in the alteration pages.

This commit is contained in:
Thomas Andres Gomez 2024-01-05 17:25:12 +01:00
parent 38ae516704
commit eaf3d1562d

View file

@ -42,7 +42,8 @@ class AlterationViewModel @Inject constructor(
init { init {
viewModelScope.launch { viewModelScope.launch {
launch(Dispatchers.IO) { launch(Dispatchers.IO) {
characterSheetRepository.data descriptionRepository.data
.combine(characterSheetRepository.data) { _, sheet -> sheet }
.combine(alterationRepository.assignedAlterations) { sheet, alterations -> .combine(alterationRepository.assignedAlterations) { sheet, alterations ->
sheet[character] to alterations sheet[character] to alterations
} }