Skip to content

Commit

Permalink
chore: hide testnet settings (#5308)
Browse files Browse the repository at this point in the history
* remote testnet settings

* trying this
  • Loading branch information
skylarbarrera authored Jan 3, 2024
1 parent 2ebf045 commit bdab37d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions e2e/discoverSheetFlow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
4 changes: 2 additions & 2 deletions src/screens/SettingsSheet/components/DevSection.android.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const DevSection = () => {
</Inline>
<MenuContainer testID="developer-settings-sheet">
<Menu header={IS_DEV || isTestFlight ? 'Normie Settings' : ''}>
<MenuItem
{/* <MenuItem
disabled
leftComponent={<MenuItem.TextIcon icon="🕹️" isEmoji />}
rightComponent={
Expand All @@ -326,7 +326,7 @@ const DevSection = () => {
/>
}
/>
{testnetsEnabled && <NetworkSection inDevSection />}
{testnetsEnabled && <NetworkSection inDevSection />} */}
<MenuItem
leftComponent={<MenuItem.TextIcon icon="💥" isEmoji />}
onPress={clearLocalStorage}
Expand Down
4 changes: 2 additions & 2 deletions src/screens/SettingsSheet/components/DevSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ const DevSection = () => {
return (
<MenuContainer testID="developer-settings-sheet">
<Menu header={IS_DEV || isTestFlight ? 'Normie Settings' : ''}>
<MenuItem
{/* <MenuItem
disabled
leftComponent={<MenuItem.TextIcon icon="🕹️" isEmoji />}
rightComponent={
Expand All @@ -316,7 +316,7 @@ const DevSection = () => {
/>
}
/>
{testnetsEnabled && <NetworkSection inDevSection />}
{testnetsEnabled && <NetworkSection inDevSection />} */}
<MenuItem
leftComponent={<MenuItem.TextIcon icon="💥" isEmoji />}
onPress={clearLocalStorage}
Expand Down
4 changes: 2 additions & 2 deletions src/screens/SettingsSheet/components/SettingsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ const SettingsSection = ({
testID="currency-section"
titleComponent={<MenuItem.Title text={lang.t('settings.currency')} />}
/>
{(testnetsEnabled || IS_DEV) && (
{/* {(testnetsEnabled || IS_DEV) && (
<MenuItem
hasRightArrow
leftComponent={
Expand All @@ -310,7 +310,7 @@ const SettingsSection = ({
<MenuItem.Title text={lang.t('settings.network')} />
}
/>
)}
)} */}
<ContextMenuButton
menuConfig={themeMenuConfig}
{...(android ? { onPress: onPressThemeAndroidActions } : {})}
Expand Down

0 comments on commit bdab37d

Please sign in to comment.