From bdab37daeb35c432f08253128c25c81339eb56f4 Mon Sep 17 00:00:00 2001 From: Skylar Barrera Date: Wed, 3 Jan 2024 12:58:28 -0500 Subject: [PATCH] chore: hide testnet settings (#5308) * remote testnet settings * trying this --- e2e/discoverSheetFlow.spec.js | 4 ++-- src/screens/SettingsSheet/components/DevSection.android.tsx | 4 ++-- src/screens/SettingsSheet/components/DevSection.tsx | 4 ++-- src/screens/SettingsSheet/components/SettingsSection.tsx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/e2e/discoverSheetFlow.spec.js b/e2e/discoverSheetFlow.spec.js index 801c20d63bb..0d0efc5977c 100644 --- a/e2e/discoverSheetFlow.spec.js +++ b/e2e/discoverSheetFlow.spec.js @@ -111,8 +111,8 @@ describe('Discover Screen Flow', () => { await Helpers.delay(3000); await Helpers.checkIfVisible('favorites-0'); await Helpers.checkIfVisible('verified-1'); - await Helpers.checkIfVisible('profiles-2'); - await Helpers.checkIfVisible('highLiquidity-3'); + await Helpers.checkIfExists('profiles-2'); + await Helpers.checkIfExists('highLiquidity-3'); }); it('Should search and open Profile Sheet for rainbowwallet.eth', async () => { diff --git a/src/screens/SettingsSheet/components/DevSection.android.tsx b/src/screens/SettingsSheet/components/DevSection.android.tsx index b0e476cf48b..f3e5109230b 100644 --- a/src/screens/SettingsSheet/components/DevSection.android.tsx +++ b/src/screens/SettingsSheet/components/DevSection.android.tsx @@ -309,7 +309,7 @@ const DevSection = () => { - } rightComponent={ @@ -326,7 +326,7 @@ const DevSection = () => { /> } /> - {testnetsEnabled && } + {testnetsEnabled && } */} } onPress={clearLocalStorage} diff --git a/src/screens/SettingsSheet/components/DevSection.tsx b/src/screens/SettingsSheet/components/DevSection.tsx index fbb1a559f71..0b6590ac432 100644 --- a/src/screens/SettingsSheet/components/DevSection.tsx +++ b/src/screens/SettingsSheet/components/DevSection.tsx @@ -299,7 +299,7 @@ const DevSection = () => { return ( - } rightComponent={ @@ -316,7 +316,7 @@ const DevSection = () => { /> } /> - {testnetsEnabled && } + {testnetsEnabled && } */} } onPress={clearLocalStorage} diff --git a/src/screens/SettingsSheet/components/SettingsSection.tsx b/src/screens/SettingsSheet/components/SettingsSection.tsx index 2a7efa07225..a1c14770ae5 100644 --- a/src/screens/SettingsSheet/components/SettingsSection.tsx +++ b/src/screens/SettingsSheet/components/SettingsSection.tsx @@ -290,7 +290,7 @@ const SettingsSection = ({ testID="currency-section" titleComponent={} /> - {(testnetsEnabled || IS_DEV) && ( + {/* {(testnetsEnabled || IS_DEV) && ( } /> - )} + )} */}