mirror of
https://github.com/nextcloud/android.git
synced 2024-11-21 20:55:31 +03:00
fix usage of mTransferWasRequested
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
e48cb5aee4
commit
db547427f4
1 changed files with 3 additions and 1 deletions
|
@ -300,6 +300,8 @@ public class SynchronizeFileOperation extends SyncOperation {
|
|||
final var operation = new DownloadFileOperation(mUser, file, mContext);
|
||||
var result = operation.execute(getClient());
|
||||
|
||||
mTransferWasRequested = true;
|
||||
|
||||
String filename = file.getFileName();
|
||||
if (filename != null) {
|
||||
if (result.isSuccess()) {
|
||||
|
@ -312,7 +314,7 @@ public class SynchronizeFileOperation extends SyncOperation {
|
|||
Log_OC.d(TAG, "Exception caught at requestForDownload" + e);
|
||||
}
|
||||
|
||||
mTransferWasRequested = true;
|
||||
|
||||
}
|
||||
|
||||
public boolean transferWasRequested() {
|
||||
|
|
Loading…
Reference in a new issue