summaryrefslogtreecommitdiff
path: root/frontend/src/components/settings/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/settings/index.tsx')
-rw-r--r--frontend/src/components/settings/index.tsx14
1 files changed, 13 insertions, 1 deletions
diff --git a/frontend/src/components/settings/index.tsx b/frontend/src/components/settings/index.tsx
index f3a76407..568a0a49 100644
--- a/frontend/src/components/settings/index.tsx
+++ b/frontend/src/components/settings/index.tsx
@@ -1,7 +1,7 @@
import { SidebarNavigation } from 'decky-frontend-lib';
import { lazy } from 'react';
import { useTranslation } from 'react-i18next';
-import { FaCode, FaPlug } from 'react-icons/fa';
+import { FaCode, FaFlask, FaPlug } from 'react-icons/fa';
import { useSetting } from '../../utils/hooks/useSetting';
import DeckyIcon from '../DeckyIcon';
@@ -10,6 +10,7 @@ import GeneralSettings from './pages/general';
import PluginList from './pages/plugin_list';
const DeveloperSettings = lazy(() => import('./pages/developer'));
+const TestingMenu = lazy(() => import('./pages/testing'));
export default function SettingsPage() {
const [isDeveloper, setIsDeveloper] = useSetting<boolean>('developer.enabled', false);
@@ -39,6 +40,17 @@ export default function SettingsPage() {
icon: <FaCode />,
visible: isDeveloper,
},
+ {
+ title: t('SettingsIndex.testing_title'),
+ content: (
+ <WithSuspense>
+ <TestingMenu />
+ </WithSuspense>
+ ),
+ route: '/decky/settings/testing',
+ icon: <FaFlask />,
+ visible: isDeveloper,
+ },
];
return <SidebarNavigation pages={pages} />;