diff --git a/src/Navigation.tsx b/src/Navigation.tsx index 46e725c6f..0b07d514d 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -89,22 +89,13 @@ import {ProfileFeedScreen} from '#/screens/Profile/ProfileFeed' import {ProfileFollowersScreen} from '#/screens/Profile/ProfileFollowers' import {ProfileFollowsScreen} from '#/screens/Profile/ProfileFollows' import {ProfileLabelerLikedByScreen} from '#/screens/Profile/ProfileLabelerLikedBy' -import {ProfileSearchScreen} from '#/screens/Profile/ProfileSearch' import {ProfileListScreen} from '#/screens/ProfileList' import {SavedFeeds} from '#/screens/SavedFeeds' import {SearchScreen} from '#/screens/Search' -import {AboutSettingsScreen} from '#/screens/Settings/AboutSettings' -import {AccessibilitySettingsScreen} from '#/screens/Settings/AccessibilitySettings' -import {AccountSettingsScreen} from '#/screens/Settings/AccountSettings' import {ActivityPrivacySettingsScreen} from '#/screens/Settings/ActivityPrivacySettings' import {AppearanceSettingsScreen} from '#/screens/Settings/AppearanceSettings' import {AppIconSettingsScreen} from '#/screens/Settings/AppIconSettings' -import {AppPasswordsScreen} from '#/screens/Settings/AppPasswords' -import {ContentAndMediaSettingsScreen} from '#/screens/Settings/ContentAndMediaSettings' -import {ExternalMediaPreferencesScreen} from '#/screens/Settings/ExternalMediaPreferences' -import {FollowingFeedPreferencesScreen} from '#/screens/Settings/FollowingFeedPreferences' import {InterestsSettingsScreen} from '#/screens/Settings/InterestsSettings' -import {LanguageSettingsScreen} from '#/screens/Settings/LanguageSettings' import {LegacyNotificationSettingsScreen} from '#/screens/Settings/LegacyNotificationSettings' import {NotificationSettingsScreen} from '#/screens/Settings/NotificationSettings' import {ActivityNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/ActivityNotificationSettings' @@ -117,15 +108,11 @@ import {QuoteNotificationSettingsScreen} from '#/screens/Settings/NotificationSe import {ReplyNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/ReplyNotificationSettings' import {RepostNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/RepostNotificationSettings' import {RepostsOnRepostsNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/RepostsOnRepostsNotificationSettings' -import {PrivacyAndSecuritySettingsScreen} from '#/screens/Settings/PrivacyAndSecuritySettings' -import {SettingsScreen} from '#/screens/Settings/Settings' -import {ThreadPreferencesScreen} from '#/screens/Settings/ThreadPreferences' import { StarterPackScreen, StarterPackScreenShort, } from '#/screens/StarterPack/StarterPackScreen' import {Wizard} from '#/screens/StarterPack/Wizard' -import TopicScreen from '#/screens/Topic' import {VideoFeed} from '#/screens/VideoFeed' import {type Theme, useTheme} from '#/alf' import { @@ -399,7 +386,7 @@ function commonScreens(Stack: typeof Flat, unreadCountLabel?: string) { }} /> DeerSettingsScreen} options={{ title: title(msg`Deer Settings`), diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts index 4f7054cb3..08b81de1f 100644 --- a/src/lib/routes/types.ts +++ b/src/lib/routes/types.ts @@ -123,6 +123,7 @@ export type FlatNavigatorParams = CommonNavigatorParams & { Feeds: undefined Notifications: undefined Messages: {pushToConversation?: string; animation?: 'push' | 'pop'} + CatskySettings: undefined } export type AllNavigatorParams = CommonNavigatorParams & { diff --git a/src/lib/statsig/statsig.tsx b/src/lib/statsig/statsig.tsx index 52ef902e2..043c8df8b 100644 --- a/src/lib/statsig/statsig.tsx +++ b/src/lib/statsig/statsig.tsx @@ -7,6 +7,7 @@ import {type MetricEvents} from '#/logger/metrics' import {isWeb} from '#/platform/detection' import * as persisted from '#/state/persisted' import * as env from '#/env' +import {device} from '#/storage' import {timeout} from '../async/timeout' import {type Gate} from './gates'