Merge pull request #7328 from zackhow/covers-nocrop

Android: Don't crop covers
This commit is contained in:
JosJuice 2018-08-14 11:45:14 +02:00 committed by GitHub
commit 6a34210c2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -21,7 +21,6 @@ public class PicassoUtils {
Picasso.with(imageView.getContext()) Picasso.with(imageView.getContext())
.load(cover) .load(cover)
.fit() .fit()
.centerCrop()
.noFade() .noFade()
.noPlaceholder() .noPlaceholder()
.config(Bitmap.Config.ARGB_8888) .config(Bitmap.Config.ARGB_8888)
@ -33,7 +32,6 @@ public class PicassoUtils {
Picasso.with(imageView.getContext()) Picasso.with(imageView.getContext())
.load(cover) .load(cover)
.fit() .fit()
.centerCrop()
.noFade() .noFade()
.noPlaceholder() .noPlaceholder()
.config(Bitmap.Config.ARGB_8888) .config(Bitmap.Config.ARGB_8888)
@ -49,7 +47,6 @@ public class PicassoUtils {
Picasso.with(imageView.getContext()) Picasso.with(imageView.getContext())
.load(CoverHelper.buildGameTDBUrl(gameFile, CoverHelper.getRegion(gameFile))) .load(CoverHelper.buildGameTDBUrl(gameFile, CoverHelper.getRegion(gameFile)))
.fit() .fit()
.centerCrop()
.noFade() .noFade()
.noPlaceholder() .noPlaceholder()
.config(Bitmap.Config.ARGB_8888) .config(Bitmap.Config.ARGB_8888)
@ -68,7 +65,6 @@ public class PicassoUtils {
Picasso.with(imageView.getContext()) Picasso.with(imageView.getContext())
.load(CoverHelper.buildGameTDBUrl(gameFile, "US")) .load(CoverHelper.buildGameTDBUrl(gameFile, "US"))
.fit() .fit()
.centerCrop()
.noFade() .noFade()
.noPlaceholder() .noPlaceholder()
.config(Bitmap.Config.ARGB_8888) .config(Bitmap.Config.ARGB_8888)
@ -87,7 +83,6 @@ public class PicassoUtils {
Picasso.with(imageView.getContext()) Picasso.with(imageView.getContext())
.load(CoverHelper.buildGameTDBUrl(gameFile, "EN")) .load(CoverHelper.buildGameTDBUrl(gameFile, "EN"))
.fit() .fit()
.centerCrop()
.noFade() .noFade()
.noPlaceholder() .noPlaceholder()
.config(Bitmap.Config.ARGB_8888) .config(Bitmap.Config.ARGB_8888)