Skip to content

Commit

Permalink
app: Fix demo artwork
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Nov 26, 2020
1 parent 57082c0 commit 113c4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/randomMetadata.tsx
Expand Up @@ -37,7 +37,7 @@ export async function makeRandomTrack({artwork}: Options = {}) {
const played = new PlayedTrack(new Date(), track);

// Do not always include artwork, it is random afterall
if (!artwork === false && (artwork === true || Math.random() > 0.3)) {
if (artwork !== false && (artwork === true || Math.random() > 0.3)) {
played.artwork = await fetchRandomArtwork();
}

Expand Down

0 comments on commit 113c4cd

Please sign in to comment.