Skip to content

Commit

Permalink
Fix WarmCache
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Jun 27, 2024
1 parent 8e17461 commit 9a6f4c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/steam-utils/collectionStoreInvalidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ export function collectionStoreInvalidation(): void {
return;
}

collectionStore.WarmCache();
// Seems to have been fixed in 2024-06-27 beta
if (collectionStore.WarmCache) {
collectionStore.WarmCache();
}
}
2 changes: 1 addition & 1 deletion src/steam-utils/getCollectionStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface CollectionStore {
userCollections: Collection[];
BIsHidden: (appId: number) => boolean;
SetAppsAsHidden: (appIds: number[], hide: boolean) => void;
WarmCache: () => void;
WarmCache?: () => void;
}

/**
Expand Down

0 comments on commit 9a6f4c5

Please sign in to comment.