mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-05 02:39:29 +02:00
Use List.of().
This commit is contained in:
parent
c53143ef4f
commit
ca26fcb0eb
17 changed files with 75 additions and 102 deletions
|
@ -81,7 +81,6 @@ import org.schabi.newpipe.views.FocusOverlayView;
|
|||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import icepick.Icepick;
|
||||
|
@ -649,7 +648,7 @@ public class RouterActivity extends AppCompatActivity {
|
|||
.subscribe(
|
||||
info -> PlaylistDialog.createCorrespondingDialog(
|
||||
getThemeWrapperContext(),
|
||||
Collections.singletonList(new StreamEntity(info)),
|
||||
List.of(new StreamEntity(info)),
|
||||
playlistDialog -> {
|
||||
playlistDialog.setOnDismissListener(dialog -> finish());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue