do not ignore ignoreEtags

This commit is contained in:
tobiasKaminsky 2018-01-25 08:47:05 +01:00
parent 8eda104078
commit 7840fb4db0
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
3 changed files with 4 additions and 4 deletions

View file

@ -276,7 +276,7 @@ public class FileDisplayActivity extends HookActivity
} }
} else { } else {
createMinFragments(savedInstanceState); createMinFragments(savedInstanceState);
refreshList(true); refreshList(false);
} }
setIndeterminate(mSyncInProgress); setIndeterminate(mSyncInProgress);

View file

@ -123,7 +123,7 @@ public class ExtendedListFragment extends Fragment
private ArrayList<Integer> mTops; private ArrayList<Integer> mTops;
private int mHeightCell = 0; private int mHeightCell = 0;
private SwipeRefreshLayout.OnRefreshListener mOnRefreshListener = null; private OnEnforceableRefreshListener mOnRefreshListener = null;
protected AbsListView mCurrentListView; protected AbsListView mCurrentListView;
private ExtendedListView mListView; private ExtendedListView mListView;
@ -862,7 +862,7 @@ public class ExtendedListFragment extends Fragment
mRefreshEmptyLayout.setRefreshing(false); mRefreshEmptyLayout.setRefreshing(false);
if (mOnRefreshListener != null) { if (mOnRefreshListener != null) {
mOnRefreshListener.onRefresh(); mOnRefreshListener.onRefresh(ignoreETag);
} }
} }

View file

@ -1676,7 +1676,7 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
mRefreshGridLayout.setRefreshing(false); mRefreshGridLayout.setRefreshing(false);
mRefreshEmptyLayout.setRefreshing(false); mRefreshEmptyLayout.setRefreshing(false);
} else { } else {
super.onRefresh(); super.onRefresh(false);
} }
} }