Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Fix end of feed border thickness (#8187)

authored by

Samuel Newman and committed by
GitHub
62c4293a ff7407c8

+5 -9
+5 -9
src/screens/Profile/Sections/Feed.tsx
··· 5 5 import {useQueryClient} from '@tanstack/react-query' 6 6 7 7 import {useInitialNumToRender} from '#/lib/hooks/useInitialNumToRender' 8 - import {usePalette} from '#/lib/hooks/usePalette' 9 8 import {isNative} from '#/platform/detection' 10 9 import {type FeedDescriptor} from '#/state/queries/post-feed' 11 10 import {RQKEY as FEED_RQKEY} from '#/state/queries/post-feed' ··· 14 13 import {EmptyState} from '#/view/com/util/EmptyState' 15 14 import {type ListRef} from '#/view/com/util/List' 16 15 import {LoadLatestBtn} from '#/view/com/util/load-latest/LoadLatestBtn' 17 - import {Text} from '#/view/com/util/text/Text' 18 - import {ios} from '#/alf' 16 + import {atoms as a, ios, useTheme} from '#/alf' 17 + import {Text} from '#/components/Typography' 19 18 import {type SectionRef} from './types' 20 19 21 20 interface FeedSectionProps { ··· 105 104 }) 106 105 107 106 function ProfileEndOfFeed() { 108 - const pal = usePalette('default') 107 + const t = useTheme() 109 108 110 109 return ( 111 110 <View 112 - style={[ 113 - pal.border, 114 - {paddingTop: 32, paddingBottom: 32, borderTopWidth: 1}, 115 - ]}> 116 - <Text style={[pal.textLight, pal.border, {textAlign: 'center'}]}> 111 + style={[a.w_full, a.py_5xl, a.border_t, t.atoms.border_contrast_medium]}> 112 + <Text style={[t.atoms.text_contrast_medium, a.text_center]}> 117 113 <Trans>End of feed</Trans> 118 114 </Text> 119 115 </View>