update interfaces to use the updated property names

+ misc changes related to moving to sqlite
This commit is contained in:
geoffrey45
2022-11-21 20:03:56 +03:00
committed by Mungai Njoroge
parent 881adc0f88
commit f3c4f0310a
30 changed files with 166 additions and 137 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ export default function createTrackProps(track: Track) {
return {
track,
index: track.index + 1,
isCurrent: queue().currentid === track.trackid,
isCurrent: queue().currentid === track.id,
isCurrentPlaying:
queue().currentid === track.trackid && queue().playing,
queue().currentid === track.id && queue().playing,
};
}