Skip to content
Permalink
Browse files

GameDetailsDialog: Actually load the banner

  • Loading branch information
JosJuice committed Jun 16, 2019
1 parent c2952c4 commit fcb96a179ddcc2f49b3e8c3ed23bb2a6f61655fe
@@ -11,12 +11,11 @@

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 Dialog onCreateDialog(Bundle savedInstanceState)
.noPlaceholder()
.into(imageGameScreen);

circleBanner.setImageResource(R.drawable.no_banner);
PicassoUtils.loadGameBanner(circleBanner, gameFile);

builder.setView(contents);
return builder.create();

0 comments on commit fcb96a1

Please sign in to comment.
You can’t perform that action at this time.