mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
OC-3097: (fix bug) When the connection is lost during a download, app thinks that the download is finished
This commit is contained in:
parent
32ee961d02
commit
77b7f99d66
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit cd4414a7bda686c84e1ca75dd10bcbf9b3f57f83
|
Subproject commit fb267a0564392adf4938b8f8824e5c89c22776a0
|
|
@ -1035,7 +1035,7 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
|
||||||
|
|
||||||
if (mWaitingToSend != null) {
|
if (mWaitingToSend != null) {
|
||||||
mWaitingToSend = getStorageManager().getFileByPath(mWaitingToSend.getRemotePath()); // Update the file to send
|
mWaitingToSend = getStorageManager().getFileByPath(mWaitingToSend.getRemotePath()); // Update the file to send
|
||||||
if (mWaitingToSend.isDown() && mWaitingToSend.getStoragePath()!=null) {
|
if (mWaitingToSend.isDown()) {
|
||||||
sendDownloadedFile();
|
sendDownloadedFile();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue