From 2baa26e512bf53a0385766a7117f9d4f66881876 Mon Sep 17 00:00:00 2001 From: mhmdanas <6daf084a-8eaf-40fb-86c7-8500077c3b69@anonaddy.me> Date: Sun, 21 Mar 2021 19:31:00 +0300 Subject: [PATCH] Add item to list instead of initializing with it --- .../org/schabi/newpipe/fragments/list/BaseListFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/BaseListFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/BaseListFragment.java index 8ab5e6b60bc..3e0dea5313e 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/BaseListFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/BaseListFragment.java @@ -350,8 +350,8 @@ protected void showStreamDialog(final StreamInfoItem item) { return; } - final List entries = - new ArrayList<>(Arrays.asList(StreamDialogEntry.show_channel_details)); + final List entries = new ArrayList<>(); + entries.add(StreamDialogEntry.show_channel_details) if (PlayerHolder.getType() != null) { entries.add(StreamDialogEntry.enqueue);