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}}
|
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,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
@@ -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',
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user