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}} options={{title: title(msg`Edit your starter pack`), requireAuth: true}}
/> />
<Stack.Screen <Stack.Screen
name="TempVibe" name="VideoFeed"
getComponent={() => VibeScreen} getComponent={() => VibeScreen}
options={{ options={{
title: title(msg`Vibe`), title: title(msg`Video Feed`),
requireAuth: true, requireAuth: true,
}} }}
/> />
+1 -1
View File
@@ -55,7 +55,7 @@ export function VideoPostCard({
<Link <Link
label={_(msg`View video`)} label={_(msg`View video`)}
to={{ to={{
screen: 'TempVibe', screen: 'VideoFeed',
params: { params: {
feedUri: sourceFeedUri, feedUri: sourceFeedUri,
postUri: post.uri, postUri: post.uri,
+1 -1
View File
@@ -57,7 +57,7 @@ export type CommonNavigatorParams = {
StarterPackShort: {code: string} StarterPackShort: {code: string}
StarterPackWizard: undefined StarterPackWizard: undefined
StarterPackEdit: {rkey?: string} StarterPackEdit: {rkey?: string}
TempVibe: {feedUri: string; postUri?: string} VideoFeed: {feedUri: string; postUri?: string}
} }
export type BottomTabNavigatorParams = CommonNavigatorParams & { export type BottomTabNavigatorParams = CommonNavigatorParams & {
+1 -2
View File
@@ -64,6 +64,5 @@ export const router = new Router({
StarterPack: '/starter-pack/:name/:rkey', StarterPack: '/starter-pack/:name/:rkey',
StarterPackShort: '/starter-pack-short/:code', StarterPackShort: '/starter-pack-short/:code',
StarterPackWizard: '/starter-pack/create', StarterPackWizard: '/starter-pack/create',
// temp VideoFeed: '/video-feed',
TempVibe: '/temp-vibe',
}) })
+2 -2
View File
@@ -66,7 +66,7 @@ function createThreeVideoPlayers(
return [p1, p2, p3] return [p1, p2, p3]
} }
type Props = NativeStackScreenProps<CommonNavigatorParams, 'TempVibe'> type Props = NativeStackScreenProps<CommonNavigatorParams, 'VideoFeed'>
export function VibeScreen({}: Props) { export function VibeScreen({}: Props) {
const {top} = useSafeAreaInsets() const {top} = useSafeAreaInsets()
@@ -109,7 +109,7 @@ export function VibeScreen({}: Props) {
} }
function YoloFeed() { function YoloFeed() {
const {params} = useRoute<RouteProp<CommonNavigatorParams, 'TempVibe'>>() const {params} = useRoute<RouteProp<CommonNavigatorParams, 'VideoFeed'>>()
const isFocused = useIsFocused() const isFocused = useIsFocused()
const { const {
data, data,