diff --git a/src/Navigation.tsx b/src/Navigation.tsx index 94a0b1e6f..1fd934b29 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -105,7 +105,6 @@ 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 {DeerSettingsScreen} from '#/screens/Settings/DeerSettings' import {ExternalMediaPreferencesScreen} from '#/screens/Settings/ExternalMediaPreferences' import {FindContactsSettingsScreen} from '#/screens/Settings/FindContactsSettings' import {FollowingFeedPreferencesScreen} from '#/screens/Settings/FollowingFeedPreferences' @@ -124,6 +123,7 @@ import {ReplyNotificationSettingsScreen} from '#/screens/Settings/NotificationSe import {RepostNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/RepostNotificationSettings' import {RepostsOnRepostsNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/RepostsOnRepostsNotificationSettings' import {PrivacyAndSecuritySettingsScreen} from '#/screens/Settings/PrivacyAndSecuritySettings' +import {RunesSettingsScreen} from '#/screens/Settings/RunesSettings' import {SettingsScreen} from '#/screens/Settings/Settings' import {ThreadPreferencesScreen} from '#/screens/Settings/ThreadPreferences' import { @@ -408,10 +408,10 @@ function commonScreens(Stack: typeof Flat, unreadCountLabel?: string) { }} /> DeerSettingsScreen} + name="RunesSettings" + getComponent={() => RunesSettingsScreen} options={{ - title: title(msg`Experiments`), + title: title(msg`Runes`), requireAuth: true, }} /> diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts index b72a0683f..783dce792 100644 --- a/src/lib/routes/types.ts +++ b/src/lib/routes/types.ts @@ -49,7 +49,7 @@ export type CommonNavigatorParams = { PreferencesExternalEmbeds: undefined AccessibilitySettings: undefined AppearanceSettings: undefined - DeerSettings: undefined + RunesSettings: undefined AccountSettings: undefined PrivacyAndSecuritySettings: undefined ActivityPrivacySettings: undefined diff --git a/src/routes.ts b/src/routes.ts index e4e6279ed..44f050e1d 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -47,7 +47,7 @@ export const router = new Router({ PreferencesThreads: '/settings/threads', PreferencesExternalEmbeds: '/settings/external-embeds', AccessibilitySettings: '/settings/accessibility', - DeerSettings: '/settings/deer', + RunesSettings: '/settings/runes', AppearanceSettings: '/settings/appearance', SavedFeeds: '/settings/saved-feeds', AccountSettings: '/settings/account', diff --git a/src/screens/Settings/DeerSettings.tsx b/src/screens/Settings/RunesSettings.tsx similarity index 99% rename from src/screens/Settings/DeerSettings.tsx rename to src/screens/Settings/RunesSettings.tsx index 4222af5f9..ea0197090 100644 --- a/src/screens/Settings/DeerSettings.tsx +++ b/src/screens/Settings/RunesSettings.tsx @@ -131,7 +131,7 @@ import {Admonition} from '#/components/Admonition' import {Button, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' import * as Toggle from '#/components/forms/Toggle' -import {Atom_Stroke2_Corner0_Rounded as DeerIcon} from '#/components/icons/Atom' +import {Atom_Stroke2_Corner0_Rounded as AtomIcon} from '#/components/icons/Atom' import {ChainLink_Stroke2_Corner0_Rounded as ChainLinkIcon} from '#/components/icons/ChainLink' import {Eye_Stroke2_Corner0_Rounded as VisibilityIcon} from '#/components/icons/Eye' import {Earth_Stroke2_Corner2_Rounded as EarthIcon} from '#/components/icons/Globe' @@ -488,7 +488,7 @@ const TrustedVerifiers = (): React.ReactNode => { ) } -export function DeerSettingsScreen({}: Props) { +export function RunesSettingsScreen({}: Props) { const {_} = useLingui() const goLinksEnabled = useGoLinksEnabled() @@ -584,7 +584,7 @@ export function DeerSettingsScreen({}: Props) { - Experiments + Runes @@ -592,7 +592,7 @@ export function DeerSettingsScreen({}: Props) { - + Redirects diff --git a/src/screens/Settings/Settings.tsx b/src/screens/Settings/Settings.tsx index 8c2ddff07..735a1718d 100644 --- a/src/screens/Settings/Settings.tsx +++ b/src/screens/Settings/Settings.tsx @@ -40,7 +40,7 @@ import {useIsFindContactsFeatureEnabledBasedOnGeolocation} from '#/components/co import {useDialogControl} from '#/components/Dialog' import {SwitchAccountDialog} from '#/components/dialogs/SwitchAccount' import {Accessibility_Stroke2_Corner2_Rounded as AccessibilityIcon} from '#/components/icons/Accessibility' -import {Atom_Stroke2_Corner0_Rounded as DeerIcon} from '#/components/icons/Atom' +import {Atom_Stroke2_Corner0_Rounded as AtomIcon} from '#/components/icons/Atom' import {Bell_Stroke2_Corner0_Rounded as NotificationIcon} from '#/components/icons/Bell' import {BubbleInfo_Stroke2_Corner2_Rounded as BubbleInfoIcon} from '#/components/icons/BubbleInfo' import {ChevronTop_Stroke2_Corner0_Rounded as ChevronUpIcon} from '#/components/icons/Chevron' @@ -233,10 +233,10 @@ export function SettingsScreen({}: Props) { Appearance - - + + - Experiments + Runes