put new collectibles related preferences behind feature flag (#12936)

feature/default_network_editable
Alex Donesky 3 years ago committed by Dan Miller
parent 3cff801b8e
commit b65005db84
  1. 7
      ui/pages/settings/experimental-tab/experimental-tab.component.js

@ -53,6 +53,10 @@ export default class ExperimentalTab extends PureComponent {
} }
renderCollectibleDetectionToggle() { renderCollectibleDetectionToggle() {
if (!process.env.COLLECTIBLES_V1) {
return null;
}
const { t } = this.context; const { t } = this.context;
const { const {
useCollectibleDetection, useCollectibleDetection,
@ -93,6 +97,9 @@ export default class ExperimentalTab extends PureComponent {
} }
renderOpenSeaEnabledToggle() { renderOpenSeaEnabledToggle() {
if (!process.env.COLLECTIBLES_V1) {
return null;
}
const { t } = this.context; const { t } = this.context;
const { openSeaEnabled, setOpenSeaEnabled } = this.props; const { openSeaEnabled, setOpenSeaEnabled } = this.props;

Loading…
Cancel
Save