diff --git a/packages/mobile/src/config/index.ts b/packages/mobile/src/config/index.ts index ab20bbe64..d826cfaee 100644 --- a/packages/mobile/src/config/index.ts +++ b/packages/mobile/src/config/index.ts @@ -61,6 +61,7 @@ export type AppConfigVars = { disable_battery_iap_module: boolean; disable_battery_send: boolean; disable_show_unverified_token: boolean; + disable_battery_promo_module: boolean; disable_tonstakers: boolean; disable_holders_cards: boolean; exclude_jetton_chart_periods: boolean; @@ -99,6 +100,7 @@ const defaultConfig: Partial = { disable_battery: false, disable_battery_send: false, disable_battery_iap_module: Platform.OS === 'android', // Enable for iOS, disable for Android + disable_battery_promo_module: true, disable_show_unverified_token: false, disable_tonstakers: false, diff --git a/packages/shared/components/RefillBattery/RefillBattery.tsx b/packages/shared/components/RefillBattery/RefillBattery.tsx index 85d78f1f5..367c5f395 100644 --- a/packages/shared/components/RefillBattery/RefillBattery.tsx +++ b/packages/shared/components/RefillBattery/RefillBattery.tsx @@ -39,6 +39,7 @@ export const RefillBattery = memo((props) => { const bottomInsets = useSafeAreaInsets().bottom; const isInAppPurchasesDisabled = config.get('disable_battery_iap_module'); + const isPromoDisabled = config.get('disable_battery_promo_module'); return ( ((props) => { )} {!isInAppPurchasesDisabled ? : null} - - + {!isPromoDisabled ? ( + <> + + + + ) : null}