From 4ec916e5c75527ae30b469f9a2b4250bbe4df5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Garci=CC=81a=20de=20Prada?= Date: Mon, 23 Nov 2020 15:07:13 +0100 Subject: [PATCH] Refresh thumbnail when file is updated in server even if it is not an image --- .../owncloud/android/operations/SynchronizeFolderOperation.java | 1 - 1 file changed, 1 deletion(-) diff --git a/owncloudApp/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java b/owncloudApp/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java index fb0f8a4fbd28..f382204b6322 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java +++ b/owncloudApp/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java @@ -354,7 +354,6 @@ private void mergeRemoteFolder(ArrayList remoteFolderAndFiles) // remote eTag will not be set unless file CONTENTS are synchronized updatedLocalFile.setEtag(localFile.getEtag()); if (!updatedLocalFile.isFolder() && - remoteFile.isImage() && remoteFile.getModificationTimestamp() != localFile.getModificationTimestamp()) { updatedLocalFile.setNeedsUpdateThumbnail(true); }