diff --git a/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java b/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java index 5a3e9aa6d87e1bea3910d86037d1e3369d245a98..a5b271d508e6f6c497437b456cf85c15ccce546a 100644 --- a/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java +++ b/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java @@ -137,6 +137,7 @@ public class DownloadFileOperation extends RemoteOperation { return FORBIDDEN; } + targetFile.setLastModified(remoteFile.getModifiedTimestamp()); syncedFileState.setLocalLastModified(targetFile.lastModified()) .setLastETAG(remoteFile.getEtag());