...
 
Commits (2)
......@@ -27,8 +27,9 @@ class Api::V1::Timelines::HomeController < Api::BaseController
end
def home_statuses
theLimit = params[:max_id].nil? ? 10 : limit_param(DEFAULT_STATUSES_LIMIT)
account_home_feed.get(
limit_param(DEFAULT_STATUSES_LIMIT),
theLimit,
params[:max_id],
params[:since_id],
params[:min_id]
......
......@@ -133,7 +133,7 @@ export default class ScrollableList extends PureComponent {
// reload
}
if (600 > offset && this.props.onLoadMore && this.props.hasMore && !this.props.isLoading) {
if (1500 > offset && this.props.onLoadMore && this.props.hasMore && !this.props.isLoading) {
this.props.onLoadMore();
}
......