parent
b936da1c0f
commit
b308d7e65d
|
@ -475,6 +475,7 @@ let PostThreadItemLoaded = ({
|
||||||
: 8,
|
: 8,
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
|
{/* If we are in threaded mode, the avatar is rendered in PostMeta */}
|
||||||
{!isThreadedChild && (
|
{!isThreadedChild && (
|
||||||
<View style={styles.layoutAvi}>
|
<View style={styles.layoutAvi}>
|
||||||
<PreviewableUserAvatar
|
<PreviewableUserAvatar
|
||||||
|
@ -500,7 +501,12 @@ let PostThreadItemLoaded = ({
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<View style={styles.layoutContent}>
|
<View
|
||||||
|
style={
|
||||||
|
isThreadedChild
|
||||||
|
? styles.layoutContentThreaded
|
||||||
|
: styles.layoutContent
|
||||||
|
}>
|
||||||
<PostMeta
|
<PostMeta
|
||||||
author={post.author}
|
author={post.author}
|
||||||
authorHasWarning={!!post.author.labels?.length}
|
authorHasWarning={!!post.author.labels?.length}
|
||||||
|
@ -709,6 +715,10 @@ const styles = StyleSheet.create({
|
||||||
flex: 1,
|
flex: 1,
|
||||||
marginLeft: 10,
|
marginLeft: 10,
|
||||||
},
|
},
|
||||||
|
layoutContentThreaded: {
|
||||||
|
flex: 1,
|
||||||
|
paddingRight: 10,
|
||||||
|
},
|
||||||
meta: {
|
meta: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
paddingVertical: 2,
|
paddingVertical: 2,
|
||||||
|
|
Loading…
Reference in New Issue