1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-24 20:15:16 +01:00

Merge pull request #11696 from codyit/history-remove-dialog-override

Remove history dialog override so clicking "Start playing in the background" would only enqueue the current item instead of the full history which is usually massive
This commit is contained in:
Stypox 2024-11-12 10:43:01 +01:00 committed by GitHub
commit a229ab68d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -332,10 +332,6 @@ public class StatisticsPlaylistFragment
StreamDialogDefaultEntry.DELETE, StreamDialogDefaultEntry.DELETE,
(f, i) -> deleteEntry( (f, i) -> deleteEntry(
Math.max(itemListAdapter.getItemsList().indexOf(item), 0))) Math.max(itemListAdapter.getItemsList().indexOf(item), 0)))
.setAction(
StreamDialogDefaultEntry.START_HERE_ON_BACKGROUND,
(f, i) -> NavigationHelper.playOnBackgroundPlayer(
context, getPlayQueueStartingAt(item), true))
.create() .create()
.show(); .show();
} catch (final IllegalArgumentException e) { } catch (final IllegalArgumentException e) {