Skip to content

Commit

Permalink
Remove debounce in Connect uiState
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Jan 7, 2025
1 parent 062326c commit a3372b3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import kotlinx.coroutines.FlowPreview
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.debounce
import kotlinx.coroutines.flow.filter
import kotlinx.coroutines.flow.filterIsInstance
import kotlinx.coroutines.flow.map
Expand Down Expand Up @@ -105,7 +104,6 @@ class ConnectViewModel(
isPlayBuild = isPlayBuild,
)
}
.debounce(UI_STATE_DEBOUNCE_DURATION_MILLIS)
.stateIn(viewModelScope, SharingStarted.WhileSubscribed(), ConnectUiState.INITIAL)

init {
Expand Down

0 comments on commit a3372b3

Please sign in to comment.