Skip to content

Commit

Permalink
fix: remove Dispatchers.IO
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Oct 30, 2024
1 parent dfbfe76 commit d56c1f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class RequestUserNameViewModel @Inject constructor(
}

fun checkUsername(requestedUserName: String?) {
viewModelScope.launch(Dispatchers.IO) {
viewModelScope.launch {
requestedUserName?.let { username ->
val usernameSearchResult = platformRepo.getUsername(username)
val usernameExists = when (usernameSearchResult.status) {
Expand Down

0 comments on commit d56c1f5

Please sign in to comment.