Skip to content

Commit ddda80a

Browse files
committed
Fixed the bug
1 parent 1bb166a commit ddda80a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueue.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,9 @@ public boolean equals(@Nullable final Object obj) {
527527
if (size() != other.size()) {
528528
return false;
529529
}
530+
if (other.getIndex() != getIndex()) {
531+
return false;
532+
}
530533
for (int i = 0; i < size(); i++) {
531534
final PlayQueueItem stream = streams.get(i);
532535
final PlayQueueItem otherStream = other.streams.get(i);

0 commit comments

Comments
 (0)