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) {