Updated on 2026-08-14
This commit is contained in:
parent
0ced6def88
commit
3ed3dc91b1
3 changed files with 8 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -3,4 +3,5 @@ package com.tangem.features.yield.supply.api
|
|||
interface YieldSupplyFeatureToggles {
|
||||
|
||||
val isYieldSupplyFeatureEnabled: Boolean
|
||||
val isYieldSupplyPendingTransactionsEnabled: Boolean
|
||||
}
|
||||
|
|
@ -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")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue