Closed faultables closed 4 months ago
technically ini relatively ez:
@Published var queue: [NowPlaying] = []
@Published var activeQueueIdx: Int = 0
queue.append(item)
queue.shuffled()
self.activeQueueIdx = idx
behavior:
queue.insert(item, at: activeIndex + 1)
klo yg "persistent thing" dan something-is-wrong-with-songs-props resolved close ini
technically ini relatively ez:
@Published var queue: [NowPlaying] = []
--> queue@Published var activeQueueIdx: Int = 0
--> current index — singles always 0queue.append(item)
--> add to queuequeue.shuffled()
--> shuffle queueself.activeQueueIdx = idx
--> set queue (reorder?)behavior:
queue.insert(item, at: activeIndex + 1)
queue.append(item)