renamed page to savedfeeds

zio/stable
Ansh Nanda 2023-05-14 18:37:18 -07:00
parent 6105314f15
commit 61ea37ff81
4 changed files with 6 additions and 8 deletions

View File

@ -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} />
</>

View File

@ -20,7 +20,7 @@ export type CommonNavigatorParams = {
CommunityGuidelines: undefined
CopyrightPolicy: undefined
AppPasswords: undefined
CustomAlgorithms: undefined
SavedFeeds: undefined
MutedAccounts: undefined
BlockedAccounts: undefined
}

View File

@ -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',

View File

@ -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,