Updated on 2026-08-14
This commit is contained in:
parent
173b076e5a
commit
4ef4d42a9e
1 changed files with 6 additions and 4 deletions
|
|
@ -69,10 +69,12 @@ internal class AddCustomTokenHub : BaseStoreHub<AddCustomTokenState>("AddCustomT
|
|||
val contractAddress = ContractAddress.getFieldValue<String>()
|
||||
validateContractAddressAndNotify(contractAddress)
|
||||
|
||||
val isAlreadyAdded = isBlockchainPersistIntoAppSavedTokensList(
|
||||
selectedNetwork = action.blockchainNetwork.value
|
||||
)
|
||||
updateWarningAlreadyAdded(isAlreadyAdded)
|
||||
if (!hubState.tokensAnyFieldsIsFilled()){
|
||||
val isAlreadyAdded = isBlockchainPersistIntoAppSavedTokensList(
|
||||
selectedNetwork = action.blockchainNetwork.value
|
||||
)
|
||||
updateWarningAlreadyAdded(isAlreadyAdded)
|
||||
}
|
||||
checkAndUpdateAddButton()
|
||||
}
|
||||
is OnTokenDerivationPathChanged -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue