mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 10:52:16 +03:00
Fixed feed caching issue
This commit is contained in:
parent
f3c0c206bb
commit
e69d5a74ae
@ -178,7 +178,10 @@ class PostsView extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
setFeedPosts(_posts);
|
||||
if (posts.length < 5) {
|
||||
setFeedPosts(_posts);
|
||||
}
|
||||
|
||||
if (refreshing && newPosts.length > 0) {
|
||||
this.setState({
|
||||
posts: _posts,
|
||||
|
Loading…
Reference in New Issue
Block a user