mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Specify scale type for glide thumbnails.
This commit is contained in:
@@ -58,6 +58,7 @@ public final class AvatarUtil {
|
||||
GlideApp.with(target)
|
||||
.load(photo)
|
||||
.transform(new BlurTransformation(context, 0.25f, BlurTransformation.MAX_RADIUS))
|
||||
.centerCrop()
|
||||
.into(new CustomViewTarget<View, Drawable>(target) {
|
||||
@Override
|
||||
public void onLoadFailed(@Nullable Drawable errorDrawable) {
|
||||
|
||||
Reference in New Issue
Block a user