Fix refresh the description in the alteration pages.
This commit is contained in:
		
							parent
							
								
									38ae516704
								
							
						
					
					
						commit
						eaf3d1562d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -42,7 +42,8 @@ class AlterationViewModel @Inject constructor(
 | 
			
		|||
    init {
 | 
			
		||||
        viewModelScope.launch {
 | 
			
		||||
            launch(Dispatchers.IO) {
 | 
			
		||||
                characterSheetRepository.data
 | 
			
		||||
                descriptionRepository.data
 | 
			
		||||
                    .combine(characterSheetRepository.data) { _,  sheet -> sheet }
 | 
			
		||||
                    .combine(alterationRepository.assignedAlterations) { sheet, alterations ->
 | 
			
		||||
                        sheet[character] to alterations
 | 
			
		||||
                    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue