Improve handling of deleted posts

This commit is contained in:
Paul Frazee
2022-11-28 16:37:39 -06:00
parent 2ac28aa2de
commit 6f56a8c539
8 changed files with 93 additions and 60 deletions
@@ -88,6 +88,15 @@ export const PostThreadItem = observer(function PostThreadItem({
)
}
if (deleted) {
return (
<View style={[styles.outer, s.p20, s.flexRow]}>
<FontAwesomeIcon icon={['far', 'trash-can']} style={[s.gray4]} />
<Text style={[s.gray5, s.ml10]}>This post has been deleted.</Text>
</View>
)
}
if (item._isHighlightedPost) {
return (
<>