diff --git a/features/address-book/impl/src/main/kotlin/com/tangem/features/addressbook/editcontact/model/EditContactModel.kt b/features/address-book/impl/src/main/kotlin/com/tangem/features/addressbook/editcontact/model/EditContactModel.kt index bbc1caed26..b6ff6cdd5c 100644 --- a/features/address-book/impl/src/main/kotlin/com/tangem/features/addressbook/editcontact/model/EditContactModel.kt +++ b/features/address-book/impl/src/main/kotlin/com/tangem/features/addressbook/editcontact/model/EditContactModel.kt @@ -232,6 +232,7 @@ internal class EditContactModel @Inject constructor( selectedWallet.mapNotNull { it?.walletId }.distinctUntilChanged(), ) { name, walletId -> name to walletId } .mapLatest { (name, walletId) -> validateName(name, walletId) } + .flowOn(dispatchers.default) .onEach { error -> stateController.update(UpdateNameErrorTransformer(error)) } .launchIn(modelScope) }