mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Loading screen: use Image_Tile when Image_Hero is not available
This commit is contained in:
parent
4767df442e
commit
a8cf0896c5
@ -1340,9 +1340,9 @@ class TitlesInfo {
|
|||||||
|
|
||||||
static saveFromCatalogInfo(catalogInfo) {
|
static saveFromCatalogInfo(catalogInfo) {
|
||||||
const titleId = catalogInfo.StoreId;
|
const titleId = catalogInfo.StoreId;
|
||||||
|
const imageHero = (catalogInfo.Image_Hero || catalogInfo.Image_Tile || {}).URL;
|
||||||
TitlesInfo.update(titleId, {
|
TitlesInfo.update(titleId, {
|
||||||
imageHero: catalogInfo.Image_Hero ? catalogInfo.Image_Hero.URL : '',
|
imageHero: imageHero,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user