mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Fix image size settings
This commit is contained in:
parent
c522382da2
commit
2d7252e9e4
2 changed files with 5 additions and 4 deletions
|
|
@ -3,6 +3,7 @@ package com.cappielloantonio.play.glide;
|
|||
import android.content.Context;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.core.content.res.ResourcesCompat;
|
||||
|
||||
|
|
@ -50,9 +51,9 @@ public class CustomGlideRequest {
|
|||
"&c=" + params.get("c") +
|
||||
"&id=" + item;
|
||||
|
||||
if (size != -1) {
|
||||
return url + "&size" + size;
|
||||
}
|
||||
if (size != -1) { url = url + "&size=" + size; }
|
||||
|
||||
Log.d(TAG, "createUrl() " + url);
|
||||
|
||||
return url;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue