Skip to content

Commit

Permalink
Potential fix to the thumbnails issue. Fetching data replaced the pre…
Browse files Browse the repository at this point in the history
…vious value, now, it keeps it
  • Loading branch information
abelgardep committed Aug 11, 2022
1 parent a6fc63b commit 67c77fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class OCFileRepository(
// DO NOT update etag till contents are synced.
etag = localChildToSync.etag
needsToUpdateThumbnail =
!remoteChild.isFolder && remoteChild.modificationTimestamp != localChildToSync.modificationTimestamp
(!remoteChild.isFolder && remoteChild.modificationTimestamp != localChildToSync.modificationTimestamp) || localChildToSync.needsToUpdateThumbnail
// Probably not needed, if the child was already in the database, the av offline status should be also there
if (remoteFolder.isAvailableOffline) {
availableOfflineStatus = AVAILABLE_OFFLINE_PARENT
Expand Down

0 comments on commit 67c77fa

Please sign in to comment.