Skip to content

Commit

Permalink
[Regression] Fix videos added multiple times to detail fragment stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Nov 14, 2020
1 parent f9e7ac1 commit a153215
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1756,7 +1756,7 @@ public void onQueueUpdate(final PlayQueue queue) {
// deleted/added items inside Channel/Playlist queue and makes possible to have
// a history of played items
@Nullable final StackItem stackPeek = stack.peek();
if (stackPeek != null && stackPeek.getPlayQueue().equals(queue)) {
if (stackPeek != null && !stackPeek.getPlayQueue().equals(queue)) {
@Nullable final PlayQueueItem playQueueItem = queue.getItem();
if (playQueueItem != null) {
stack.push(new StackItem(playQueueItem.getServiceId(), playQueueItem.getUrl(),
Expand Down

0 comments on commit a153215

Please sign in to comment.