Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'main' of github.com:bluesky-social/social-app into main

+7 -1
+4
src/state/queries/feed.ts
··· 136 136 return pathname.includes(feedSourceNSIDs.feed) ? 'feed' : 'list' 137 137 } 138 138 139 + export function getAvatarTypeFromUri(uri: string) { 140 + return getFeedTypeFromUri(uri) === 'feed' ? 'algo' : 'list' 141 + } 142 + 139 143 export function useFeedSourceInfoQuery({uri}: {uri: string}) { 140 144 const type = getFeedTypeFromUri(uri) 141 145
+3 -1
src/view/screens/Feeds.tsx
··· 30 30 useFeedSourceInfoQuery, 31 31 useGetPopularFeedsQuery, 32 32 useSearchPopularFeedsMutation, 33 + getAvatarTypeFromUri, 33 34 } from '#/state/queries/feed' 34 35 import {cleanError} from 'lib/strings/errors' 35 36 import {useComposerControls} from '#/state/shell/composer' ··· 555 556 const pal = usePalette('default') 556 557 const {isMobile} = useWebMediaQueries() 557 558 const {data: info, error} = useFeedSourceInfoQuery({uri: feedUri}) 559 + const typeAvatar = getAvatarTypeFromUri(feedUri) 558 560 559 561 if (!info) 560 562 return ( ··· 582 584 /> 583 585 </View> 584 586 ) : ( 585 - <UserAvatar type="algo" size={28} avatar={info.avatar} /> 587 + <UserAvatar type={typeAvatar} size={28} avatar={info.avatar} /> 586 588 )} 587 589 <View 588 590 style={{flex: 1, flexDirection: 'row', gap: 8, alignItems: 'center'}}>