From fcb96a179ddcc2f49b3e8c3ed23bb2a6f61655fe Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 16 Jun 2019 10:23:05 +0200 Subject: [PATCH] GameDetailsDialog: Actually load the banner --- .../org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java index 133b1ef635..bceae90cbe 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java @@ -11,12 +11,11 @@ import androidx.fragment.app.DialogFragment; import com.google.android.material.floatingactionbutton.FloatingActionButton; -import com.squareup.picasso.Picasso; - import org.dolphinemu.dolphinemu.R; import org.dolphinemu.dolphinemu.activities.EmulationActivity; import org.dolphinemu.dolphinemu.model.GameFile; import org.dolphinemu.dolphinemu.services.GameFileCacheService; +import org.dolphinemu.dolphinemu.utils.PicassoUtils; import de.hdodenhof.circleimageview.CircleImageView; @@ -77,7 +76,7 @@ public final class GameDetailsDialog extends DialogFragment .noPlaceholder() .into(imageGameScreen); - circleBanner.setImageResource(R.drawable.no_banner); + PicassoUtils.loadGameBanner(circleBanner, gameFile); builder.setView(contents); return builder.create();