Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

hide top border for mentions and replies (#4330)

authored by

Hailey and committed by
GitHub
d93acb25 708a80e7

+12 -2
+1
src/view/com/notifications/FeedItem.tsx
··· 148 148 borderColor: pal.colors.unreadNotifBorder, 149 149 } 150 150 } 151 + hideTopBorder={hideTopBorder} 151 152 /> 152 153 </Link> 153 154 )
+11 -2
src/view/com/post/Post.tsx
··· 41 41 export function Post({ 42 42 post, 43 43 showReplyLine, 44 + hideTopBorder, 44 45 style, 45 46 }: { 46 47 post: AppBskyFeedDefs.PostView 47 48 showReplyLine?: boolean 49 + hideTopBorder?: boolean 48 50 style?: StyleProp<ViewStyle> 49 51 }) { 50 52 const moderationOpts = useModerationOpts() ··· 82 84 richText={richText} 83 85 moderation={moderation} 84 86 showReplyLine={showReplyLine} 87 + hideTopBorder={hideTopBorder} 85 88 style={style} 86 89 /> 87 90 ) ··· 95 98 richText, 96 99 moderation, 97 100 showReplyLine, 101 + hideTopBorder, 98 102 style, 99 103 }: { 100 104 post: Shadow<AppBskyFeedDefs.PostView> ··· 102 106 richText: RichTextAPI 103 107 moderation: ModerationDecision 104 108 showReplyLine?: boolean 109 + hideTopBorder?: boolean 105 110 style?: StyleProp<ViewStyle> 106 111 }) { 107 112 const queryClient = useQueryClient() ··· 143 148 return ( 144 149 <Link 145 150 href={itemHref} 146 - style={[styles.outer, pal.border, style]} 151 + style={[ 152 + styles.outer, 153 + pal.border, 154 + !hideTopBorder && {borderTopWidth: hairlineWidth}, 155 + style, 156 + ]} 147 157 onBeforePress={onBeforePress}> 148 158 {showReplyLine && <View style={styles.replyLine} />} 149 159 <View style={styles.layout}> ··· 243 253 paddingRight: 15, 244 254 paddingBottom: 5, 245 255 paddingLeft: 10, 246 - borderTopWidth: hairlineWidth, 247 256 // @ts-ignore web only -prf 248 257 cursor: 'pointer', 249 258 },