mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
OC-3087: (fix bug) The loading doesn't deissapear during the download process
This commit is contained in:
parent
54d99ee9f6
commit
21a6560375
3 changed files with 0 additions and 3 deletions
|
@ -1640,7 +1640,6 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
|
|||
}
|
||||
|
||||
private void sendDownloadedFile(){
|
||||
dismissLoadingDialog();
|
||||
getFileOperationsHelper().sendDownloadedFile(mWaitingToSend, this);
|
||||
mWaitingToSend = null;
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue