Skip to content

Commit

Permalink
Merge pull request #315 from lovegaoshi/dev
Browse files Browse the repository at this point in the history
fix: livestatus display
  • Loading branch information
lovegaoshi authored Feb 28, 2024
2 parents 981bcbc + 588ad69 commit 6220f05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/playlist/SongList/SongInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ const SongInfo = ({
const checked = selected[getSongIndex()];

const isItemSolid = () => {
if (item.liveStatus === true || !networkCellular) return true;
if (item.liveStatus === false) return false;
if (!networkCellular) return true;
if (playerSetting.dataSaver && !NoxCache.noxMediaCache?.peekCache(item)) {
return false;
}
Expand Down

0 comments on commit 6220f05

Please sign in to comment.