Эх сурвалжийг харах

OC-3087: (fix bug) The loading doesn't deissapear during the download process

masensio 11 жил өмнө
parent
commit
21a6560375

+ 0 - 1
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -1640,7 +1640,6 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
     }
     
     private void sendDownloadedFile(){
-        dismissLoadingDialog();
         getFileOperationsHelper().sendDownloadedFile(mWaitingToSend, this);
         mWaitingToSend = null;
     }

+ 0 - 1
src/com/owncloud/android/ui/fragment/FileDetailFragment.java

@@ -391,7 +391,6 @@ public class FileDetailFragment extends FileFragment implements
                 FileDisplayActivity activity = (FileDisplayActivity) getSherlockActivity();
                 // Obtain the file
                 if (!getFile().isDown()) {  // Download the file                    
-                    //activity.showLoadingDialog();
                     Log_OC.d(TAG, getFile().getRemotePath() + " : File must be downloaded");
                     activity.startDownloadForSending(getFile());
                     

+ 0 - 1
src/com/owncloud/android/ui/fragment/OCFileListFragment.java

@@ -368,7 +368,6 @@ public class OCFileListFragment extends ExtendedListFragment implements EditName
             case R.id.action_send_file: {
                 // Obtain the file
                 if (!mTargetFile.isDown()) {  // Download the file
-                    ((FileDisplayActivity) getSherlockActivity()).showLoadingDialog();
                     Log_OC.d(TAG, mTargetFile.getRemotePath() + " : File must be downloaded");
                     mContainerActivity.startDownloadForSending(mTargetFile);