Browse Source

Remove progress bubble in uploads list as soon as pull-2-refresh is triggered

David A. Velasco 9 years ago
parent
commit
0ec9543671
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/com/owncloud/android/ui/fragment/UploadListFragment.java

+ 5 - 1
src/com/owncloud/android/ui/fragment/UploadListFragment.java

@@ -79,7 +79,11 @@ public class UploadListFragment extends ExpandableListFragment {
     
     @Override
     public void onRefresh() {
-        mAdapter.notifyDataSetChanged();        
+        // remove the progress circle as soon as pull is triggered, like in the list of files
+        mRefreshEmptyLayout.setRefreshing(false);
+        mRefreshListLayout.setRefreshing(false);
+
+        mAdapter.notifyDataSetChanged();
     }
 
     @Override