Skip to content

Commit

Permalink
Android: Don't crop covers
Browse files Browse the repository at this point in the history
  • Loading branch information
zackhow committed Aug 13, 2018
1 parent 60f12e1 commit 1f40efd
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 1f40efd

Please sign in to comment.