fix slow folder page

~ stabilize props: move isCurrent check to inside SongItem component
This commit is contained in:
geoffrey45
2022-12-06 23:49:14 +03:00
committed by Mungai Njoroge
parent 90dd1a1fe8
commit 0b24974a63
8 changed files with 20 additions and 38 deletions
-4
View File
@@ -16,10 +16,6 @@
<SongItem
:track="item.track"
:index="index + 1"
:isCurrent="queue.currenttrackhash === item.track.trackhash"
:isCurrentPlaying="
queue.currenttrackhash === item.track.trackhash && queue.playing
"
@playThis="playFromQueue(index)"
/>
</RecycleScroller>