Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-06 14:41:04 +01:00
parent b741ed5d02
commit fa433ef8d1

View file

@ -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)
}