Maintain the loading visibility on action bar instead of the pull refresh animation
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / activity / FileDisplayActivity.java
index 537ed74..ae38805 100644 (file)
@@ -929,11 +929,13 @@ FileFragment.ContainerActivity, OnNavigationListener, OnSslUntrustedCertListener
                         setSupportProgressBarIndeterminateVisibility(mSyncInProgress /*|| mRefreshSharesInProgress*/);
                         
                         if (mSyncInProgress) {
-                            getListOfFilesFragment().showSwipeProgress();
+                            getListOfFilesFragment().disableSwipe();
                             
                         } else {
+                            getListOfFilesFragment().enableSwipe();
                             getListOfFilesFragment().hideSwipeProgress();
                         }
+                        
                 }
                 
                 if (synchResult != null) {