forked from Ivasoft/mattermost-mobile
Fix (#6644)
This commit is contained in:
committed by
GitHub
parent
9b41b21319
commit
af77f74902
@@ -222,7 +222,7 @@ const Post = ({
|
||||
let header: ReactNode;
|
||||
let postAvatar: ReactNode;
|
||||
let consecutiveStyle: StyleProp<ViewStyle>;
|
||||
const isProrityPost = isPostPriorityEnabled && post.props.priority;
|
||||
const isProrityPost = Boolean(isPostPriorityEnabled && post.props?.priority);
|
||||
const sameSequence = hasReplies ? (hasReplies && post.rootId) : !post.rootId;
|
||||
if (!isProrityPost && hasSameRoot && isConsecutivePost && sameSequence) {
|
||||
consecutiveStyle = styles.consective;
|
||||
|
||||
Reference in New Issue
Block a user