diff --git a/p2p_wallet/Common/Services/WarmupService/RemoteConfigWarmup.swift b/p2p_wallet/Common/Services/WarmupService/RemoteConfigWarmup.swift index 0b38720e6..fbfcdbf21 100644 --- a/p2p_wallet/Common/Services/WarmupService/RemoteConfigWarmup.swift +++ b/p2p_wallet/Common/Services/WarmupService/RemoteConfigWarmup.swift @@ -33,12 +33,12 @@ class RemoteConfigWarmupProcess: WarmupProcess { let currentEndpoints = APIEndPoint.definedEndpoints let defaultFlags = StaticFlagsFetcher(featureFlags: []) - #if !RELEASE - let settings = RemoteConfigSettings() - // WARNING: Don't actually do this in production! - settings.minimumFetchInterval = 0 - RemoteConfig.remoteConfig().configSettings = settings + let settings = RemoteConfigSettings() + settings.minimumFetchInterval = 0 + RemoteConfig.remoteConfig().configSettings = settings + + #if !RELEASE FeatureFlagProvider.shared.fetchFeatureFlags( mainFetcher: MergingFlagsFetcher( primaryFetcher: DebugMenuFeaturesProvider.shared, diff --git a/p2p_wallet/Scenes/Main/Crypto/Container/CryptoViewModel.swift b/p2p_wallet/Scenes/Main/Crypto/Container/CryptoViewModel.swift index 66520a98c..33e787085 100644 --- a/p2p_wallet/Scenes/Main/Crypto/Container/CryptoViewModel.swift +++ b/p2p_wallet/Scenes/Main/Crypto/Container/CryptoViewModel.swift @@ -81,6 +81,7 @@ final class CryptoViewModel: BaseViewModel, ObservableObject { } updateAddressIfNeeded() analyticsManager.log(event: .cryptoScreenOpened) + displayReferralBanner = available(.referralProgramEnabled) } func copyToClipboard() {