Skip to content

Commit

Permalink
Merge pull request #2330 from nextcloud/revert-2037-useIgnoreEtagAgain
Browse files Browse the repository at this point in the history
Revert "Do not ignore ignoreEtags"
  • Loading branch information
AndyScherzinger authored Mar 12, 2018
2 parents 1c41baf + 1d2ed0b commit 67956ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public void onClick(View v) {
}
} else {
createMinFragments(savedInstanceState);
refreshList(false);
refreshList(true);
}

setIndeterminate(mSyncInProgress);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public class ExtendedListFragment extends Fragment
private ArrayList<Integer> mTops;
private int mHeightCell = 0;

private OnEnforceableRefreshListener mOnRefreshListener = null;
private SwipeRefreshLayout.OnRefreshListener mOnRefreshListener = null;

protected AbsListView mCurrentListView;
private ExtendedListView mListView;
Expand Down Expand Up @@ -880,7 +880,7 @@ public void onRefresh(boolean ignoreETag) {
mRefreshEmptyLayout.setRefreshing(false);

if (mOnRefreshListener != null) {
mOnRefreshListener.onRefresh(ignoreETag);
mOnRefreshListener.onRefresh();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@ public void onRefresh() {
mRefreshGridLayout.setRefreshing(false);
mRefreshEmptyLayout.setRefreshing(false);
} else {
super.onRefresh(false);
super.onRefresh();
}
}

Expand Down

0 comments on commit 67956ec

Please sign in to comment.