Skip to content

Commit

Permalink
Added missing dispatcher on screenModelScope.launch()
Browse files Browse the repository at this point in the history
  • Loading branch information
SAUL committed Nov 27, 2024
1 parent 18570ad commit 446dee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/viewmodel/SecVaultScreenModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class SecVaultScreenModel(
}

private fun handleEvents() {
screenModelScope.launch {
screenModelScope.launch(dispatcher) {
eventChannel.consumeAsFlow().collect { event ->
when (event) {
is SecVaultEvent.LoadCredentials -> loadCredentials()
Expand Down

0 comments on commit 446dee4

Please sign in to comment.