From 09365659cbb3a2cee2ec5a449d2be3cda28ada3a Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Wed, 28 Feb 2024 05:22:51 -0800 Subject: [PATCH] fix: livestatus display --- src/components/playlist/SongList/SongInfo.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/playlist/SongList/SongInfo.tsx b/src/components/playlist/SongList/SongInfo.tsx index 0fa2b13b..1e7145aa 100644 --- a/src/components/playlist/SongList/SongInfo.tsx +++ b/src/components/playlist/SongList/SongInfo.tsx @@ -73,6 +73,14 @@ const SongInfo = ({ }; const checked = selected[getSongIndex()]; + const isItemSolid = () => { + if (item.liveStatus === true || !networkCellular) return true; + if (playerSetting.dataSaver && !NoxCache.noxMediaCache?.peekCache(item)) { + return false; + } + return true; + }; + return (