We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37de128 commit fa2a820Copy full SHA for fa2a820
app/src/main/java/com/monstarlab/arch/extensions/ViewModelEx.kt
@@ -35,7 +35,7 @@ val ViewModel.loadingFlow: StateFlow<Boolean>
35
36
private fun ViewModel.getLoadingMutableStateFlow(): MutableStateFlow<Boolean> {
37
val flow: MutableStateFlow<Boolean>? = getTag(LOADING_FLOW_KEY)
38
- return flow ?: setTagIfAbsent(ERROR_FLOW_KEY, MutableStateFlow(false))
+ return flow ?: setTagIfAbsent(LOADING_FLOW_KEY, MutableStateFlow(false))
39
}
40
41
private fun ViewModel.getErrorMutableSharedFlow(): MutableSharedFlow<ViewError> {
0 commit comments