Rename some things
This commit is contained in:
+2
-2
@@ -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,
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -55,7 +55,7 @@ export function VideoPostCard({
|
||||
<Link
|
||||
label={_(msg`View video`)}
|
||||
to={{
|
||||
screen: 'TempVibe',
|
||||
screen: 'VideoFeed',
|
||||
params: {
|
||||
feedUri: sourceFeedUri,
|
||||
postUri: post.uri,
|
||||
|
||||
@@ -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
@@ -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',
|
||||
})
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user