Switch firebase repository stateflow to eager mode.
This commit is contained in:
		
							parent
							
								
									aa1603819f
								
							
						
					
					
						commit
						483a8cf556
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -70,7 +70,7 @@ class FirebaseRepository @Inject constructor(
 | 
			
		|||
        }
 | 
			
		||||
    }.stateIn(
 | 
			
		||||
        scope = CoroutineScope(Dispatchers.Default + Job()),
 | 
			
		||||
        started = SharingStarted.Lazily,
 | 
			
		||||
        started = SharingStarted.Eagerly,
 | 
			
		||||
        initialValue = emptyMap()
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -102,7 +102,7 @@ class FirebaseRepository @Inject constructor(
 | 
			
		|||
        }
 | 
			
		||||
    }.stateIn(
 | 
			
		||||
        scope = CoroutineScope(Dispatchers.Default + Job()),
 | 
			
		||||
        started = SharingStarted.Lazily,
 | 
			
		||||
        started = SharingStarted.Eagerly,
 | 
			
		||||
        initialValue = NetworkThrowMap(),
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue