diff --git a/suite-native/config/src/supportedNetworks.ts b/suite-native/config/src/supportedNetworks.ts index dafd3470011..8229bca47a6 100644 --- a/suite-native/config/src/supportedNetworks.ts +++ b/suite-native/config/src/supportedNetworks.ts @@ -17,13 +17,15 @@ export const orderedAccountTypes: AccountType[] = [ 'ledger', ]; -const discoveryBlacklist: NetworkSymbol[] = ['sol', 'dsol', 'pol', 'bnb', 'op']; +const discoveryBlacklist: NetworkSymbol[] = ['sol', 'dsol', 'op']; // All supported coins for device discovery export const networkSymbolsWhitelistMap = { mainnet: [ 'btc', 'eth', + 'pol', + 'bnb', 'ltc', 'etc', 'ada', diff --git a/suite-native/discovery/src/discoveryConfigSlice.ts b/suite-native/discovery/src/discoveryConfigSlice.ts index e57701d80c8..57b498a7c00 100644 --- a/suite-native/discovery/src/discoveryConfigSlice.ts +++ b/suite-native/discovery/src/discoveryConfigSlice.ts @@ -94,19 +94,11 @@ export const selectDiscoveryInfo = (state: DiscoveryConfigSliceRootState) => export const selectFeatureFlagEnabledNetworkSymbols = memoize( (state: FeatureFlagsRootState & DiscoveryConfigSliceRootState) => { - const isPolygonEnabled = selectIsFeatureFlagEnabled(state, FeatureFlag.IsPolygonEnabled); - const isBscEnabled = selectIsFeatureFlagEnabled(state, FeatureFlag.IsBscEnabled); const isSolanaEnabled = selectIsFeatureFlagEnabled(state, FeatureFlag.IsSolanaEnabled); const areTestnetsEnabled = selectAreTestnetsEnabled(state); const allowlist: NetworkSymbol[] = []; - if (isPolygonEnabled) { - allowlist.push('pol'); - } - if (isBscEnabled) { - allowlist.push('bnb'); - } if (isSolanaEnabled) { allowlist.push('sol'); if (areTestnetsEnabled) { diff --git a/suite-native/feature-flags/src/featureFlagsSlice.ts b/suite-native/feature-flags/src/featureFlagsSlice.ts index c0f7d6a0934..1bd97f30a40 100644 --- a/suite-native/feature-flags/src/featureFlagsSlice.ts +++ b/suite-native/feature-flags/src/featureFlagsSlice.ts @@ -8,8 +8,6 @@ export const FeatureFlag = { IsBitcoinLikeSendEnabled: 'isBitcoinLikeSendEnabled', IsEthereumSendEnabled: 'isEthereumSendEnabled', IsRegtestEnabled: 'isRegtestEnabled', - IsPolygonEnabled: 'IsPolygonEnabled', - IsBscEnabled: 'IsBscEnabled', IsSolanaEnabled: 'IsSolanaEnabled', IsConnectPopupEnabled: 'IsConnectPopupEnabled', } as const; @@ -26,8 +24,6 @@ export const featureFlagsInitialState: FeatureFlagsState = { [FeatureFlag.IsBitcoinLikeSendEnabled]: isAndroid() && isDevelopOrDebugEnv(), [FeatureFlag.IsEthereumSendEnabled]: isAndroid() && isDevelopOrDebugEnv(), [FeatureFlag.IsRegtestEnabled]: isDebugEnv() || isDetoxTestBuild(), - [FeatureFlag.IsPolygonEnabled]: false, - [FeatureFlag.IsBscEnabled]: false, [FeatureFlag.IsSolanaEnabled]: false, [FeatureFlag.IsConnectPopupEnabled]: isDevelopOrDebugEnv(), }; @@ -37,8 +33,6 @@ export const featureFlagsPersistedKeys: Array = [ FeatureFlag.IsBitcoinLikeSendEnabled, FeatureFlag.IsEthereumSendEnabled, FeatureFlag.IsRegtestEnabled, - FeatureFlag.IsPolygonEnabled, - FeatureFlag.IsBscEnabled, FeatureFlag.IsSolanaEnabled, FeatureFlag.IsConnectPopupEnabled, ]; diff --git a/suite-native/module-dev-utils/src/components/FeatureFlags.tsx b/suite-native/module-dev-utils/src/components/FeatureFlags.tsx index 9a8fe52b248..28f694e4b8b 100644 --- a/suite-native/module-dev-utils/src/components/FeatureFlags.tsx +++ b/suite-native/module-dev-utils/src/components/FeatureFlags.tsx @@ -6,8 +6,6 @@ const featureFlagsTitleMap = { [FeatureFlagEnum.IsBitcoinLikeSendEnabled]: 'Bitcoin-like coins send', [FeatureFlagEnum.IsEthereumSendEnabled]: 'Ethereum-like coins send', [FeatureFlagEnum.IsRegtestEnabled]: 'Regtest', - [FeatureFlagEnum.IsPolygonEnabled]: 'Polygon', - [FeatureFlagEnum.IsBscEnabled]: 'BNB Smart Chain', [FeatureFlagEnum.IsSolanaEnabled]: 'Solana', [FeatureFlagEnum.IsConnectPopupEnabled]: 'Connect Popup', } as const satisfies Record;