mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-02 19:06:39 +03:00
Fixed no post issue
This commit is contained in:
parent
682920c5b4
commit
e277f8915e
@ -53,6 +53,10 @@ class PostsContainer extends PureComponent {
|
|||||||
pageType,
|
pageType,
|
||||||
selectedOptionIndex,
|
selectedOptionIndex,
|
||||||
tag,
|
tag,
|
||||||
|
isLoginDone,
|
||||||
|
isLoggedIn,
|
||||||
|
isDarkTheme,
|
||||||
|
nsfw,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const { promotedPosts } = this.state;
|
const { promotedPosts } = this.state;
|
||||||
|
|
||||||
@ -74,6 +78,10 @@ class PostsContainer extends PureComponent {
|
|||||||
selectedOptionIndex={selectedOptionIndex}
|
selectedOptionIndex={selectedOptionIndex}
|
||||||
setFeedPosts={this._setFeedPosts}
|
setFeedPosts={this._setFeedPosts}
|
||||||
tag={tag}
|
tag={tag}
|
||||||
|
isLoginDone={isLoginDone}
|
||||||
|
isLoggedIn={isLoggedIn}
|
||||||
|
isDarkTheme={isDarkTheme}
|
||||||
|
nsfw={nsfw}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -364,12 +364,7 @@ class PostsView extends Component {
|
|||||||
initialNumToRender={10}
|
initialNumToRender={10}
|
||||||
ListFooterComponent={this._renderFooter}
|
ListFooterComponent={this._renderFooter}
|
||||||
onScroll={this._handleOnScroll}
|
onScroll={this._handleOnScroll}
|
||||||
ListEmptyComponent={
|
ListEmptyComponent={this._renderEmptyContent}
|
||||||
<Fragment>
|
|
||||||
<PostCardPlaceHolder />
|
|
||||||
<PostCardPlaceHolder />
|
|
||||||
</Fragment>
|
|
||||||
}
|
|
||||||
refreshControl={
|
refreshControl={
|
||||||
<RefreshControl
|
<RefreshControl
|
||||||
refreshing={refreshing}
|
refreshing={refreshing}
|
||||||
|
Loading…
Reference in New Issue
Block a user