diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/Settings/AppIconSettings.web.tsx | 3 | ||||
-rw-r--r-- | src/screens/Settings/AppearanceSettings.tsx | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/screens/Settings/AppIconSettings.web.tsx b/src/screens/Settings/AppIconSettings.web.tsx new file mode 100644 index 000000000..d8c4d9bea --- /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 662b3093f..82c4ef97e 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 ?? ''] && ( <> <SettingsList.Divider /> |