about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/Navigation.tsx4
-rw-r--r--src/lib/routes/types.ts2
-rw-r--r--src/routes.ts2
-rw-r--r--src/view/screens/SavedFeeds.tsx (renamed from src/view/screens/CustomAlgorithms.tsx)6
4 files changed, 6 insertions, 8 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx
index 8b6e1b453..26dc9f7ad 100644
--- a/src/Navigation.tsx
+++ b/src/Navigation.tsx
@@ -52,7 +52,7 @@ import {AppPasswords} from 'view/screens/AppPasswords'
 import {MutedAccounts} from 'view/screens/MutedAccounts'
 import {BlockedAccounts} from 'view/screens/BlockedAccounts'
 import {getRoutingInstrumentation} from 'lib/sentry'
-import CustomAlgorithms from 'view/screens/CustomAlgorithms'
+import {SavedFeeds} from './view/screens/SavedFeeds'
 
 const navigationRef = createNavigationContainerRef<AllNavigatorParams>()
 
@@ -92,7 +92,7 @@ function commonScreens(Stack: typeof HomeTab) {
       />
       <Stack.Screen name="CopyrightPolicy" component={CopyrightPolicyScreen} />
       <Stack.Screen name="AppPasswords" component={AppPasswords} />
-      <Stack.Screen name="CustomAlgorithms" component={CustomAlgorithms} />
+      <Stack.Screen name="SavedFeeds" component={SavedFeeds} />
       <Stack.Screen name="MutedAccounts" component={MutedAccounts} />
       <Stack.Screen name="BlockedAccounts" component={BlockedAccounts} />
     </>
diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts
index b91495640..5a4126f6a 100644
--- a/src/lib/routes/types.ts
+++ b/src/lib/routes/types.ts
@@ -20,7 +20,7 @@ export type CommonNavigatorParams = {
   CommunityGuidelines: undefined
   CopyrightPolicy: undefined
   AppPasswords: undefined
-  CustomAlgorithms: undefined
+  SavedFeeds: undefined
   MutedAccounts: undefined
   BlockedAccounts: undefined
 }
diff --git a/src/routes.ts b/src/routes.ts
index c1b441984..b510f66f6 100644
--- a/src/routes.ts
+++ b/src/routes.ts
@@ -14,7 +14,7 @@ export const router = new Router({
   Debug: '/sys/debug',
   Log: '/sys/log',
   AppPasswords: '/settings/app-passwords',
-  CustomAlgorithms: '/settings/custom-algorithms',
+  SavedFeeds: '/settings/saved-feeds',
   MutedAccounts: '/settings/muted-accounts',
   BlockedAccounts: '/settings/blocked-accounts',
   Support: '/support',
diff --git a/src/view/screens/CustomAlgorithms.tsx b/src/view/screens/SavedFeeds.tsx
index b838660df..7b04a6474 100644
--- a/src/view/screens/CustomAlgorithms.tsx
+++ b/src/view/screens/SavedFeeds.tsx
@@ -22,9 +22,9 @@ import {Text} from 'view/com/util/text/Text'
 import {isDesktopWeb} from 'platform/detection'
 import {s} from 'lib/styles'
 
-type Props = NativeStackScreenProps<CommonNavigatorParams, 'CustomAlgorithms'>
+type Props = NativeStackScreenProps<CommonNavigatorParams, 'SavedFeeds'>
 
-const CustomAlgorithms = withAuthRequired(
+export const SavedFeeds = withAuthRequired(
   observer(({}: Props) => {
     const pal = usePalette('default')
     const rootStore = useStores()
@@ -89,8 +89,6 @@ const CustomAlgorithms = withAuthRequired(
   }),
 )
 
-export default CustomAlgorithms
-
 const styles = StyleSheet.create({
   footer: {
     paddingVertical: 20,