Hopefully feature-complete Android Bluesky client written in Expo
atproto bluesky
3
fork

Configure Feed

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

Filter labels without defs

SharpMars 82a32747 b85b8f2f

+8 -2
+4 -1
src/components/EmbedView.tsx
··· 280 280 .labelValueDefinitions; 281 281 const label = labelDefs?.find((def) => def.identifier === val.val); 282 282 283 + if (!label) return null; 284 + 283 285 return ( 284 286 <View 285 287 key={val.src + val.val} ··· 308 310 </Text> 309 311 </View> 310 312 ); 311 - })} 313 + }) 314 + .filter((val) => val)} 312 315 </View> 313 316 )} 314 317
+4 -1
src/components/Post.tsx
··· 103 103 const labelDefs = (labeler as AppBskyLabelerDefs.LabelerViewDetailed)?.policies.labelValueDefinitions; 104 104 const label = labelDefs?.find((def) => def.identifier === val.val); 105 105 106 + if (!label) return null; 107 + 106 108 return ( 107 109 <View 108 110 key={val.src + val.val} ··· 124 126 </Text> 125 127 </View> 126 128 ); 127 - })} 129 + }) 130 + .filter((val) => val)} 128 131 </View> 129 132 )} 130 133 {(props.post.record as AppBskyFeedPost.Main).text.trim().length > 0 && (