This commit is contained in:
u-e 2019-01-30 14:57:45 +03:00
parent a79fbc5bfe
commit 3e9f39ac8f

View File

@ -128,7 +128,7 @@ class PostDisplayView extends PureComponent {
<PostPlaceHolder />
) : (
<View onLayout={event => this._handleOnPostLayout(event)}>
<Text style={styles.title}>{post.title || "Not Found"}</Text>
{!!post.title && <Text style={styles.title}>{post.title}</Text>}
<PostHeaderDescription
date={formatedTime}
name={post.author}