Updated on 2026-08-14
This commit is contained in:
parent
f95d17d711
commit
5c5dd3487c
1 changed files with 2 additions and 5 deletions
|
|
@ -622,11 +622,8 @@ internal class AddCustomTokenViewModel @Inject constructor(
|
|||
private fun getDerivationPathForBlockchain(blockchain: Blockchain?): DerivationPath? {
|
||||
if (blockchain == null) return null
|
||||
|
||||
val derivationStyle = if (!isDerivationPathSelected()) {
|
||||
reduxStateHolder.scanResponse?.derivationStyleProvider?.getDerivationStyle()
|
||||
} else {
|
||||
DerivationStyle.LEGACY
|
||||
}
|
||||
val derivationStyle = reduxStateHolder.scanResponse?.derivationStyleProvider?.getDerivationStyle()
|
||||
|
||||
val derivationNetwork = if (blockchain == Blockchain.Unknown) {
|
||||
uiState.form.networkSelectorField.selectedItem.blockchain
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue