diff --git a/src/screens/Settings/AppIconSettings.web.tsx b/src/screens/Settings/AppIconSettings.web.tsx new file mode 100644 index 0000000000..d8c4d9bea7 --- /dev/null +++ b/src/screens/Settings/AppIconSettings.web.tsx @@ -0,0 +1,3 @@ +export function AppIconSettingsScreen() { + throw new Error('Not supported on web') +} diff --git a/src/screens/Settings/AppearanceSettings.tsx b/src/screens/Settings/AppearanceSettings.tsx index 662b3093f5..82c4ef97e4 100644 --- a/src/screens/Settings/AppearanceSettings.tsx +++ b/src/screens/Settings/AppearanceSettings.tsx @@ -10,6 +10,7 @@ import {useLingui} from '@lingui/react' import {DISCOVER_DEBUG_DIDS} from '#/lib/constants' import {CommonNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types' +import {isNative} from '#/platform/detection' import {useSession} from '#/state/session' import {useSetThemePrefs, useThemePrefs} from '#/state/shell' import {Logo} from '#/view/icons/Logo' @@ -169,7 +170,7 @@ export function AppearanceSettingsScreen({}: Props) { onChange={onChangeFontScale} /> - {DISCOVER_DEBUG_DIDS[currentAccount?.did ?? ''] && ( + {isNative && DISCOVER_DEBUG_DIDS[currentAccount?.did ?? ''] && ( <>