fix wrong thumbnail

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2018-05-23 19:47:08 +02:00 committed by AndyScherzinger
parent 35282cd565
commit bbca4fd4b7
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -558,7 +558,7 @@ public class ThumbnailsCacheManager {
pxW + "/" + pxH + Uri.encode(file.getRemotePath(), "/"); pxW + "/" + pxH + Uri.encode(file.getRemotePath(), "/");
} else { } else {
uri = mClient.getBaseUri() + "/index.php/apps/files_trashbin/preview?fileId=" + uri = mClient.getBaseUri() + "/index.php/apps/files_trashbin/preview?fileId=" +
file.getLocalId() + "x="+ pxW + "&y=" + pxH; file.getLocalId() + "&x=" + pxW + "&y=" + pxH;
} }
Log_OC.d(TAG, "generate thumbnail: " + file.getFileName() + " URI: " + uri); Log_OC.d(TAG, "generate thumbnail: " + file.getFileName() + " URI: " + uri);