GameDetailsDialog: Actually load the banner

This commit is contained in:
JosJuice 2019-06-16 10:23:05 +02:00
parent c2952c466f
commit fcb96a179d
1 changed files with 2 additions and 3 deletions

View File

@ -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();