diff --git a/src/components/Post/Embed/index.tsx b/src/components/Post/Embed/index.tsx --- a/src/components/Post/Embed/index.tsx +++ b/src/components/Post/Embed/index.tsx @@ -474,7 +474,6 @@ numberOfLines={20} disableLinks /> ) : null} - {quote.embed && ( )} + ) diff --git a/src/components/PostTags.tsx b/src/components/PostTags.tsx --- a/src/components/PostTags.tsx +++ b/src/components/PostTags.tsx @@ -1,5 +1,5 @@ -import {type StyleProp, View, type ViewStyle} from 'react-native' -import {AppBskyFeedPost, type AppBskyFeedDefs} from '@atproto/api' +import {Pressable, type StyleProp, View, type ViewStyle} from 'react-native' +import {type AppBskyFeedDefs, AppBskyFeedPost} from '@atproto/api' import {atoms as a, tokens, useTheme} from '#/alf' import {RichTextTag} from '#/components/RichTextTag' @@ -27,21 +27,34 @@ {tags.map(tag => ( - + role="presentation" + style={({hovered, pressed}) => [ + a.rounded_full, + hovered || pressed + ? t.atoms.bg_contrast_50 + : t.atoms.bg_contrast_25, + {paddingHorizontal: 6, paddingVertical: 3}, + ]}> + + ))} ) diff --git a/src/components/RichTextTag.tsx b/src/components/RichTextTag.tsx --- a/src/components/RichTextTag.tsx +++ b/src/components/RichTextTag.tsx @@ -29,11 +29,13 @@ tag, display, authorHandle, textStyle, + disableUnderline, }: { tag: string display: string authorHandle?: string textStyle: StyleProp + disableUnderline?: boolean }) { const {_} = useLingui() const {isLoading: isPreferencesLoading, data: preferences} = @@ -100,6 +102,7 @@ onLongPress={createStaticClick(menuProps.onPress).onPress} accessibilityHint={hint} label={label} style={textStyle} + disableUnderline={disableUnderline} emoji> {IS_NATIVE ? ( display diff --git a/src/screens/PostThread/components/ThreadItemAnchor.tsx b/src/screens/PostThread/components/ThreadItemAnchor.tsx --- a/src/screens/PostThread/components/ThreadItemAnchor.tsx +++ b/src/screens/PostThread/components/ThreadItemAnchor.tsx @@ -533,7 +533,6 @@ /> ) : ( )} - )} + {!inReader && ( <> diff --git a/src/screens/PostThread/components/ThreadItemPost.tsx b/src/screens/PostThread/components/ThreadItemPost.tsx --- a/src/screens/PostThread/components/ThreadItemPost.tsx +++ b/src/screens/PostThread/components/ThreadItemPost.tsx @@ -389,7 +389,6 @@ ) : ( )} - {post.embed && ( )} + ) : undefined} - )} + diff --git a/src/screens/PostThread/components/ThreadItemTreePost.tsx b/src/screens/PostThread/components/ThreadItemTreePost.tsx --- a/src/screens/PostThread/components/ThreadItemTreePost.tsx +++ b/src/screens/PostThread/components/ThreadItemTreePost.tsx @@ -390,7 +390,6 @@ inline={false} value={postNumbering} /> )} - {post.embed && ( @@ -402,6 +401,7 @@ post={post} /> )} + )} - ) : undefined} - - - {post.embed ? ( + ) : undefined} + + {post.embed ? ( ) : null} + )} ) : undefined} - {record && } {postEmbed ? ( ) : null} + ) }