Skip to content

Commit

Permalink
Hide Subscape features
Browse files Browse the repository at this point in the history
  • Loading branch information
jagodarybacka committed Dec 12, 2023
1 parent c2f21bf commit 7fc5f1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ SUPPORT_ARBITRUM_NOVA=false
SUPPORT_SWAP_QUOTE_REFRESH=false
SUPPORT_ACHIEVEMENTS_BANNER=false
SUPPORT_NFT_SEND=false
HIDE_ISLAND_UI=true
SUPPORT_THE_ISLAND=true
SUPPORT_THE_ISLAND_ON_TENDERLY=false
USE_MAINNET_FORK=false
Expand Down
1 change: 1 addition & 0 deletions background/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const RuntimeFlag = {
SUPPORT_SWAP_QUOTE_REFRESH: process.env.SUPPORT_SWAP_QUOTE_REFRESH === "true",
SUPPORT_CUSTOM_NETWORKS: process.env.SUPPORT_CUSTOM_NETWORKS === "true",
SUPPORT_CUSTOM_RPCS: process.env.SUPPORT_CUSTOM_RPCS === "true",
HIDE_ISLAND_UI: process.env.HIDE_ISLAND_UI === "true",
SUPPORT_THE_ISLAND: process.env.SUPPORT_THE_ISLAND === "true",
SUPPORT_THE_ISLAND_ON_TENDERLY:
process.env.SUPPORT_THE_ISLAND_ON_TENDERLY === "true",
Expand Down
4 changes: 2 additions & 2 deletions ui/pages/Wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function Wallet(): ReactElement {
return (
<>
<div className="page_content">
<WalletSubspaceLink />
{!isEnabled(FeatureFlags.HIDE_ISLAND_UI) && <WalletSubspaceLink />}
<WalletAnalyticsNotificationBanner />
<div className="section">
<WalletAccountBalanceControl
Expand All @@ -116,7 +116,7 @@ export default function Wallet(): ReactElement {
{!isEnabled(FeatureFlags.HIDE_TOKEN_FEATURES) && (
<OnboardingOpenClaimFlowBanner />
)}
<PortalBanner />
{!isEnabled(FeatureFlags.HIDE_ISLAND_UI) && <PortalBanner />}
<div className="section">
<SharedPanelSwitcher
setPanelNumber={setPanelNumber}
Expand Down

0 comments on commit 7fc5f1e

Please sign in to comment.