Skip to content
This repository was archived by the owner on Jun 6, 2022. It is now read-only.

Commit c4bbeae

Browse files
committed
Merge remote-tracking branch 'remotes/SantaHey/SantaHey-patch-2' into bpm_fix_manual_pics
2 parents fbf66d5 + 239b7eb commit c4bbeae

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/js/Search.jsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,15 @@ class Search extends React.Component {
6666
this.setState({
6767
items: clonedItems,
6868
});
69-
69+
7070
const downloadPromises = [];
7171

7272
downloadPromises.push(Steam.addAsset(location.state.assetType, game.appid, item.url));
73-
// Old app id is for Big Picture Mode
74-
downloadPromises.push(Steam.addAsset(location.state.assetType, game.appidOld, item.url));
73+
74+
// Add horizontalGrid BPM image for Non-Steam Games
75+
if (game.appidold && location.state.assetType == 'horizontalGrid') {
76+
downloadPromises.push(Steam.addAsset(location.state.assetType, game.appidold, item.url));
77+
}
7578

7679
Promise.all(downloadPromises).then(() => {
7780
clonedItems[itemIndex].downloading = false;

0 commit comments

Comments
 (0)