diff --git a/app/components/post/post.js b/app/components/post/post.js index 5616e3e36..f1a180727 100644 --- a/app/components/post/post.js +++ b/app/components/post/post.js @@ -14,6 +14,7 @@ import { import {intlShape} from 'react-intl'; import MaterialIcon from 'react-native-vector-icons/MaterialIcons'; +import FlagIcon from 'app/components/flag_icon'; import PostBody from 'app/components/post_body'; import PostHeader from 'app/components/post_header'; import PostProfilePicture from 'app/components/post_profile_picture'; @@ -419,9 +420,26 @@ export default class Post extends PureComponent { let postHeader; let userProfile; + let consecutiveStyle; if (mergeMessage) { - userProfile = ; + consecutiveStyle = {paddingBottom: 5}; + + if (isFlagged) { + userProfile = ( + + + + + + ); + } else { + userProfile = ; + } } else { userProfile = ( + {userProfile} {!commentedOnPost && this.renderReplyBar()} @@ -522,6 +540,13 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { marginLeft: 46, marginTop: 10, }, + consecutivePostWithFlag: { + width: 11, + height: 11, + position: 'absolute', + top: -6, + left: -11, + }, profilePictureContainer: { marginBottom: 10, marginRight: 10,