Fix: only show appeal CW item on moderated posts (#2312)

* Fix: only show appeal CW item on moderated posts

* Add appeal cw control to feed view o fposts
This commit is contained in:
Paul Frazee 2023-12-27 08:48:23 -08:00 committed by GitHub
parent 6e001dbf1c
commit 0c9dc2163a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 4 deletions

View file

@ -31,12 +31,14 @@ let PostCtrls = ({
big,
post,
record,
showAppealLabelItem,
style,
onPressReply,
}: {
big?: boolean
post: Shadow<AppBskyFeedDefs.PostView>
record: AppBskyFeedPost.Record
showAppealLabelItem?: boolean
style?: StyleProp<ViewStyle>
onPressReply: () => void
}): React.ReactNode => {
@ -207,6 +209,7 @@ let PostCtrls = ({
postCid={post.cid}
postUri={post.uri}
record={record}
showAppealLabelItem={showAppealLabelItem}
style={styles.ctrlPad}
/>
)}