1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-02-06 02:00:17 +00:00

Small refactor getPlayQueueFromCache

(cherry picked from commit 5525d206dc)
This commit is contained in:
AbsurdlyLongUsername
2026-02-05 04:28:00 +00:00
committed by github-actions[bot]
parent addf1e23b3
commit 045e91df1c

View File

@@ -567,11 +567,7 @@ public final class Player implements PlaybackListener, Listener {
if (queueCache == null) {
return null;
}
final PlayQueue newQueue = SerializedCache.getInstance().take(queueCache, PlayQueue.class);
if (newQueue == null) {
return null;
}
return newQueue;
return SerializedCache.getInstance().take(queueCache, PlayQueue.class);
}
private void initUIsForCurrentPlayerType() {