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