mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
put new collectibles related preferences behind feature flag (#12936)
This commit is contained in:
parent
eb4f051b23
commit
c29afd110b
@ -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…
Reference in New Issue
Block a user