mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
GameDetailsDialog: Actually load the banner
This commit is contained in:
parent
c2952c466f
commit
fcb96a179d
@ -11,12 +11,11 @@ import androidx.fragment.app.DialogFragment;
|
|||||||
|
|
||||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||||
|
|
||||||
import com.squareup.picasso.Picasso;
|
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.R;
|
import org.dolphinemu.dolphinemu.R;
|
||||||
import org.dolphinemu.dolphinemu.activities.EmulationActivity;
|
import org.dolphinemu.dolphinemu.activities.EmulationActivity;
|
||||||
import org.dolphinemu.dolphinemu.model.GameFile;
|
import org.dolphinemu.dolphinemu.model.GameFile;
|
||||||
import org.dolphinemu.dolphinemu.services.GameFileCacheService;
|
import org.dolphinemu.dolphinemu.services.GameFileCacheService;
|
||||||
|
import org.dolphinemu.dolphinemu.utils.PicassoUtils;
|
||||||
|
|
||||||
import de.hdodenhof.circleimageview.CircleImageView;
|
import de.hdodenhof.circleimageview.CircleImageView;
|
||||||
|
|
||||||
@ -77,7 +76,7 @@ public final class GameDetailsDialog extends DialogFragment
|
|||||||
.noPlaceholder()
|
.noPlaceholder()
|
||||||
.into(imageGameScreen);
|
.into(imageGameScreen);
|
||||||
|
|
||||||
circleBanner.setImageResource(R.drawable.no_banner);
|
PicassoUtils.loadGameBanner(circleBanner, gameFile);
|
||||||
|
|
||||||
builder.setView(contents);
|
builder.setView(contents);
|
||||||
return builder.create();
|
return builder.create();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user