Merge branch 'develop' into pull_down_refresh
authormasensio <masensio@solidgear.es>
Fri, 30 May 2014 12:16:33 +0000 (14:16 +0200)
committermasensio <masensio@solidgear.es>
Fri, 30 May 2014 12:16:33 +0000 (14:16 +0200)
1  2 
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@@ -181,11 -181,6 +181,6 @@@ FileFragment.ContainerActivity, OnNavig
          mRightFragmentContainer = findViewById(R.id.right_fragment_container);
          if (savedInstanceState == null) {
              createMinFragments();
-         } else {
-             Log_OC.d(TAG, "Init the secondFragment again");
-             if (mDualPane) {
-                 initFragmentsWithFile();                
-             }
          }
  
          // Action bar setup
                          removeStickyBroadcast(intent);
                          Log_OC.d(TAG, "Setting progress visibility to " + mSyncInProgress);
                          setSupportProgressBarIndeterminateVisibility(mSyncInProgress /*|| mRefreshSharesInProgress*/);
 +                        
 +                        if (mSyncInProgress) {
 +                            getListOfFilesFragment().disableSwipe();
 +                            
 +                        } else {
 +                            getListOfFilesFragment().enableSwipe();
 +                            getListOfFilesFragment().hideSwipeProgress();
 +                        }
 +                        
                  }
                  
                  if (synchResult != null) {