diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 3c211094..5ec1c6bd 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -11,7 +11,6 @@ import { CurrentWallet, useCurrentWallet, useCurrentWalletInfo } from '../contex import { useServiceInfo, useSessionConnectionError } from '../context/ServiceInfoContext' import { routes } from '../constants/routes' import { AmountSats } from '../libs/JmWalletApi' -import { isDebugFeatureEnabled } from '../constants/debugFeatures' import styles from './Navbar.module.css' @@ -197,11 +196,9 @@ const TrailingNav = ({ joiningRoute, onClick }: TrailingNavProps) => { )} - {isDebugFeatureEnabled('fastThemeToggle') && ( - - - - )} + + + {t('navbar.menu')} - {isDebugFeatureEnabled('fastThemeToggle') && ( - - - - )} + + + {t('navbar.title')} diff --git a/src/constants/debugFeatures.ts b/src/constants/debugFeatures.ts index 9ef497a2..0bd4cf0a 100644 --- a/src/constants/debugFeatures.ts +++ b/src/constants/debugFeatures.ts @@ -7,7 +7,6 @@ interface DebugFeatures { importDummyMnemonicPhrase: boolean rescanChainPage: boolean allowFeeValuesReset: boolean - fastThemeToggle: boolean enableDemoEarnReport: boolean enableDemoOrderbook: boolean } @@ -23,7 +22,6 @@ const debugFeatures: DebugFeatures = { importDummyMnemonicPhrase: devMode, rescanChainPage: devMode, allowFeeValuesReset: devMode, - fastThemeToggle: devMode, enableDemoEarnReport: devMode, enableDemoOrderbook: devMode, }