From 3bf67bade6fcf9a093a42214e49bc841a22bb8fd Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 22 Apr 2022 14:22:05 +0400 Subject: [PATCH] Updated on 2026-08-14 --- .../java/com/tangem/tap/features/wallet/redux/WalletState.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletState.kt b/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletState.kt index 35db5ab1c9..278ccee818 100644 --- a/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletState.kt +++ b/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletState.kt @@ -397,7 +397,10 @@ sealed interface Currency { } fun isCustomCurrency(derivationStyle: DerivationStyle?): Boolean { + if (this is Token && this.token.id == null) return true + if (derivationPath == null || derivationStyle == null) return false + return derivationPath != blockchain.derivationPath(derivationStyle)?.rawPath }