diff --git a/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp index e933733..ebfefc2 100644 Binary files a/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-hdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp index 79d9645..47a5855 100644 Binary files a/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-ldpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp index c9667ee..d337b22 100644 Binary files a/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-mdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp index d3e0a70..5e859fa 100644 Binary files a/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-xhdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp index 25c518d..808ab0a 100644 Binary files a/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-xxhdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp b/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp index e38132f..a4d92a5 100644 Binary files a/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp and b/common/src/main/res/drawable-xxxhdpi/ic_loading_screen_logo.webp differ diff --git a/common/src/main/res/values/strings.xml b/common/src/main/res/values/strings.xml index 0887243..18d9294 100644 --- a/common/src/main/res/values/strings.xml +++ b/common/src/main/res/values/strings.xml @@ -2739,4 +2739,6 @@ Scam alert Transfer details Yesterday + pezkuwi-wallet.app.link + pezkuwi-wallet-alternate.app.link diff --git a/feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/domain/nominationPools/ChainExt.kt b/feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/domain/nominationPools/ChainExt.kt index f95ce3b..5a19e5e 100644 --- a/feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/domain/nominationPools/ChainExt.kt +++ b/feature-staking-impl/src/main/java/io/novafoundation/nova/feature_staking_impl/domain/nominationPools/ChainExt.kt @@ -1,6 +1,7 @@ package io.novafoundation.nova.feature_staking_impl.domain.nominationPools import io.novafoundation.nova.runtime.multiNetwork.chain.model.Chain +import io.novafoundation.nova.runtime.multiNetwork.chain.model.ChainId /** * Finds the staking type that backs nomination pools. @@ -23,3 +24,17 @@ fun Chain.Asset.findStakingTypeBackingNominationPools(): Chain.Asset.StakingType fun Chain.Asset.hasLocalNominationPoolsBacking(): Boolean { return staking.any { it != Chain.Asset.StakingType.NOMINATION_POOLS } } + +/** + * Returns the chain ID where staking exposures (validators, eras) live. + * + * For nomination pools on a parachain (e.g. Asset Hub in Polkadot 2.0), + * the staking ledger/exposures are on the parent relay chain. + * For relay chains or chains with local staking, returns the chain's own ID. + */ +fun Chain.stakingBackingChainId(stakingType: Chain.Asset.StakingType): ChainId { + if (stakingType == Chain.Asset.StakingType.NOMINATION_POOLS && parentId != null) { + return parentId!! + } + return id +} diff --git a/version.properties b/version.properties index 012a755..4517436 100644 --- a/version.properties +++ b/version.properties @@ -1 +1 @@ -VERSION_CODE=159 \ No newline at end of file +VERSION_CODE=163 \ No newline at end of file