Rename some things

This commit is contained in:
Eric Bailey
2025-01-16 17:13:41 -06:00
parent 013608b5f9
commit a1773a6911
5 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -424,10 +424,10 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
options={{title: title(msg`Edit your starter pack`), requireAuth: true}}
/>
<Stack.Screen
name="TempVibe"
name="VideoFeed"
getComponent={() => VibeScreen}
options={{
title: title(msg`Vibe`),
title: title(msg`Video Feed`),
requireAuth: true,
}}
/>
+1 -1
View File
@@ -55,7 +55,7 @@ export function VideoPostCard({
<Link
label={_(msg`View video`)}
to={{
screen: 'TempVibe',
screen: 'VideoFeed',
params: {
feedUri: sourceFeedUri,
postUri: post.uri,
+1 -1
View File
@@ -57,7 +57,7 @@ export type CommonNavigatorParams = {
StarterPackShort: {code: string}
StarterPackWizard: undefined
StarterPackEdit: {rkey?: string}
TempVibe: {feedUri: string; postUri?: string}
VideoFeed: {feedUri: string; postUri?: string}
}
export type BottomTabNavigatorParams = CommonNavigatorParams & {
+1 -2
View File
@@ -64,6 +64,5 @@ export const router = new Router({
StarterPack: '/starter-pack/:name/:rkey',
StarterPackShort: '/starter-pack-short/:code',
StarterPackWizard: '/starter-pack/create',
// temp
TempVibe: '/temp-vibe',
VideoFeed: '/video-feed',
})
+2 -2
View File
@@ -66,7 +66,7 @@ function createThreeVideoPlayers(
return [p1, p2, p3]
}
type Props = NativeStackScreenProps<CommonNavigatorParams, 'TempVibe'>
type Props = NativeStackScreenProps<CommonNavigatorParams, 'VideoFeed'>
export function VibeScreen({}: Props) {
const {top} = useSafeAreaInsets()
@@ -109,7 +109,7 @@ export function VibeScreen({}: Props) {
}
function YoloFeed() {
const {params} = useRoute<RouteProp<CommonNavigatorParams, 'TempVibe'>>()
const {params} = useRoute<RouteProp<CommonNavigatorParams, 'VideoFeed'>>()
const isFocused = useIsFocused()
const {
data,