Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: hide testnet settings #5308

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading