Updated on 2026-08-14
This commit is contained in:
parent
673e812fd1
commit
150436c3ff
2 changed files with 3 additions and 1 deletions
|
|
@ -207,7 +207,8 @@ internal class AddCustomTokenViewModel @Inject constructor(
|
|||
val defaultNetwork = createNetworkSelectorItem(blockchain = Blockchain.Unknown)
|
||||
return listOf(defaultNetwork) + Blockchain.values()
|
||||
.filter { blockchain ->
|
||||
reduxStateHolder.scanResponse?.card?.supportedBlockchains()?.contains(blockchain) == true
|
||||
reduxStateHolder.scanResponse?.card?.supportedBlockchains()?.contains(blockchain) == true &&
|
||||
blockchain != Blockchain.Cardano
|
||||
}
|
||||
.sortedBy(Blockchain::fullName)
|
||||
.map(::createNetworkSelectorItem)
|
||||
|
|
|
|||
|
|
@ -173,5 +173,6 @@ fun Blockchain.isSupportedInApp(): Boolean {
|
|||
}
|
||||
|
||||
private val excludedBlockchains = listOf(
|
||||
Blockchain.Ducatus,
|
||||
Blockchain.Unknown,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue