This commit is contained in:
Hailey
2025-01-17 11:15:27 -08:00
parent f5d28de793
commit 63cd560f17
2 changed files with 9 additions and 2 deletions
+3
View File
@@ -63,6 +63,9 @@ export function IS_PROD_SERVICE(url?: string) {
export const PROD_DEFAULT_FEED = (rkey: string) =>
`at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/${rkey}`
export const STAGING_DEFAULT_FEED = (rkey: string) =>
`at://did:plc:yofh3kx63drvfljkibw5zuxo/app.bsky.feed.generator/${rkey}`
export const POST_IMG_MAX = {
width: 2000,
height: 2000,
+6 -2
View File
@@ -3,7 +3,7 @@ import {AppState, AppStateStatus} from 'react-native'
import {AppBskyFeedDefs} from '@atproto/api'
import throttle from 'lodash.throttle'
import {PROD_DEFAULT_FEED} from '#/lib/constants'
import {PROD_DEFAULT_FEED, STAGING_DEFAULT_FEED} from '#/lib/constants'
import {logEvent} from '#/lib/statsig/statsig'
import {logger} from '#/logger'
import {FeedDescriptor, FeedPostSliceItem} from '#/state/queries/post-feed'
@@ -155,7 +155,11 @@ export function useFeedFeedbackContext() {
// place, we're hardcoding it to the discover feed.
// -prf
function isDiscoverFeed(feed: FeedDescriptor) {
return feed === `feedgen|${PROD_DEFAULT_FEED('whats-hot')}`
return (
feed === `feedgen|${PROD_DEFAULT_FEED('whats-hot')}` ||
feed === `feedgen|${PROD_DEFAULT_FEED('thevides')}` ||
feed === `feedgen|${STAGING_DEFAULT_FEED('thevids')}`
)
}
function toString(interaction: AppBskyFeedDefs.Interaction): string {