From 3ed3dc91b1d2942badafa014dea2fa2df0ae139c Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 14 Jan 2026 13:41:35 +0400 Subject: [PATCH] Updated on 2026-08-14 --- .../src/main/assets/configs/feature_toggles_config.json | 4 ++++ .../features/yield/supply/api/YieldSupplyFeatureToggles.kt | 1 + .../yield/supply/impl/DefaultYieldSupplyFeatureToggles.kt | 3 +++ 3 files changed, 8 insertions(+) diff --git a/core/config-toggles/src/main/assets/configs/feature_toggles_config.json b/core/config-toggles/src/main/assets/configs/feature_toggles_config.json index 9531c5a206..36923953bd 100644 --- a/core/config-toggles/src/main/assets/configs/feature_toggles_config.json +++ b/core/config-toggles/src/main/assets/configs/feature_toggles_config.json @@ -51,6 +51,10 @@ "name": "YIELD_SUPPLY_FEATURE_ENABLED", "version": "5.30.0" }, + { + "name": "YIELD_SUPPLY_PENDING_TRANSACTIONS_ENABLED", + "version": "undefined" + }, { "name": "NEW_ONRAMP_MAIN_ENABLED", "version": "5.31.0" diff --git a/features/yield-supply/api/src/main/java/com/tangem/features/yield/supply/api/YieldSupplyFeatureToggles.kt b/features/yield-supply/api/src/main/java/com/tangem/features/yield/supply/api/YieldSupplyFeatureToggles.kt index 93edb89872..37c2e71379 100644 --- a/features/yield-supply/api/src/main/java/com/tangem/features/yield/supply/api/YieldSupplyFeatureToggles.kt +++ b/features/yield-supply/api/src/main/java/com/tangem/features/yield/supply/api/YieldSupplyFeatureToggles.kt @@ -3,4 +3,5 @@ package com.tangem.features.yield.supply.api interface YieldSupplyFeatureToggles { val isYieldSupplyFeatureEnabled: Boolean + val isYieldSupplyPendingTransactionsEnabled: Boolean } \ No newline at end of file diff --git a/features/yield-supply/impl/src/main/java/com/tangem/features/yield/supply/impl/DefaultYieldSupplyFeatureToggles.kt b/features/yield-supply/impl/src/main/java/com/tangem/features/yield/supply/impl/DefaultYieldSupplyFeatureToggles.kt index db476c617b..4f0a442329 100644 --- a/features/yield-supply/impl/src/main/java/com/tangem/features/yield/supply/impl/DefaultYieldSupplyFeatureToggles.kt +++ b/features/yield-supply/impl/src/main/java/com/tangem/features/yield/supply/impl/DefaultYieldSupplyFeatureToggles.kt @@ -8,4 +8,7 @@ internal class DefaultYieldSupplyFeatureToggles( ) : YieldSupplyFeatureToggles { override val isYieldSupplyFeatureEnabled: Boolean get() = featureToggles.isFeatureEnabled("YIELD_SUPPLY_FEATURE_ENABLED") + + override val isYieldSupplyPendingTransactionsEnabled: Boolean + get() = featureToggles.isFeatureEnabled("YIELD_SUPPLY_PENDING_TRANSACTIONS_ENABLED") } \ No newline at end of file