Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #7328 from zackhow/covers-nocrop
Android: Don't crop covers
  • Loading branch information
JosJuice committed Aug 14, 2018
2 parents 799b80f + 1f40efd commit 6a34210
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -21,7 +21,6 @@ public static void loadGameBanner(ImageView imageView, GameFile gameFile)
Picasso.with(imageView.getContext())
.load(cover)
.fit()
.centerCrop()
.noFade()
.noPlaceholder()
.config(Bitmap.Config.ARGB_8888)
Expand All @@ -33,7 +32,6 @@ else if ((cover = new File(gameFile.getCoverPath())).exists())
Picasso.with(imageView.getContext())
.load(cover)
.fit()
.centerCrop()
.noFade()
.noPlaceholder()
.config(Bitmap.Config.ARGB_8888)
Expand All @@ -49,7 +47,6 @@ else if ((cover = new File(gameFile.getCoverPath())).exists())
Picasso.with(imageView.getContext())
.load(CoverHelper.buildGameTDBUrl(gameFile, CoverHelper.getRegion(gameFile)))
.fit()
.centerCrop()
.noFade()
.noPlaceholder()
.config(Bitmap.Config.ARGB_8888)
Expand All @@ -68,7 +65,6 @@ public void onError() // Second pass using US region
Picasso.with(imageView.getContext())
.load(CoverHelper.buildGameTDBUrl(gameFile, "US"))
.fit()
.centerCrop()
.noFade()
.noPlaceholder()
.config(Bitmap.Config.ARGB_8888)
Expand All @@ -87,7 +83,6 @@ public void onError() // Third and last pass using EN region
Picasso.with(imageView.getContext())
.load(CoverHelper.buildGameTDBUrl(gameFile, "EN"))
.fit()
.centerCrop()
.noFade()
.noPlaceholder()
.config(Bitmap.Config.ARGB_8888)
Expand Down

0 comments on commit 6a34210

Please sign in to comment.