mirror of
https://github.com/nextcloud/android.git
synced 2024-12-19 07:22:06 +03:00
fix(Thumbnails): Use correct local id rather than remote id
Fixes #13743 Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
8311326d55
commit
1d23c3a45e
1 changed files with 1 additions and 1 deletions
|
@ -1400,7 +1400,7 @@ public final class ThumbnailsCacheManager {
|
|||
GetMethod getMethod = null;
|
||||
try {
|
||||
String uri = mClient.getBaseUri() + "/index.php/core/preview?fileId="
|
||||
+ file.getRemoteId()
|
||||
+ file.getLocalId()
|
||||
+ "&x=" + (pxW / 2) + "&y=" + (pxH / 2) + "&a=1&mode=cover&forceIcon=0";
|
||||
Log_OC.d(TAG, "generate resized image: " + file.getFileName() + " URI: " + uri);
|
||||
getMethod = new GetMethod(uri);
|
||||
|
|
Loading…
Reference in a new issue