Skip to content

Commit

Permalink
chore: Scope PortfolioView feature flag to iOS devices only
Browse files Browse the repository at this point in the history
  • Loading branch information
gambinish committed Jan 16, 2025
1 parent f62e266 commit 961f73e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/util/networks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { ChainId, NetworkType, toHex } from '@metamask/controller-utils';
import { toLowerCaseEquals } from '../general';
import { fastSplit } from '../number';
import { regex } from '../../../app/util/regex';
import Device from '../../util/device';

/* eslint-disable */
const ethLogo = require('../../images/eth-logo-new.png');
Expand Down Expand Up @@ -498,4 +499,4 @@ export const isPermissionsSettingsV1Enabled =
process.env.MM_PERMISSIONS_SETTINGS_V1_ENABLED === 'true';

export const isPortfolioViewEnabled = () =>
process.env.PORTFOLIO_VIEW === 'true';
Device.isIos() && process.env.PORTFOLIO_VIEW === 'true';

0 comments on commit 961f73e

Please sign in to comment.