fixed bug if new apps were added to GFE, they wouldn't appear in moonlight, and JS would get sad

This commit is contained in:
R. Aidan Campbell 2016-07-10 18:16:34 -04:00
parent 96514784a9
commit 1778513544

View File

@ -183,7 +183,7 @@ NvHTTP.prototype = {
chrome.storage.local.get('boxArtCache', function(JSONCachedBoxArtArray) {
var storedBoxArtArray; // load cached data if it exists
if (JSONCachedBoxArtArray.boxArtCache != undefined) {
if (JSONCachedBoxArtArray.boxArtCache != undefined && JSONCachedBoxArtArray.boxArtCache[appId] != undefined) {
storedBoxArtArray = JSONCachedBoxArtArray.boxArtCache;
storedBoxArtArray[appId] = _base64ToArrayBuffer(storedBoxArtArray[appId]);