From 3ff00ff50e6590a8a3b774cb5589eebf4549fee3 Mon Sep 17 00:00:00 2001 From: Douile <25043847+Douile@users.noreply.github.com> Date: Sun, 12 Dec 2021 13:01:40 +0000 Subject: [PATCH] Fix lambda code formatting Co-authored-by: Stypox --- .../newpipe/util/StreamDialogEntry.java | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/util/StreamDialogEntry.java b/app/src/main/java/org/schabi/newpipe/util/StreamDialogEntry.java index 8096ff21b..a0539e9a8 100644 --- a/app/src/main/java/org/schabi/newpipe/util/StreamDialogEntry.java +++ b/app/src/main/java/org/schabi/newpipe/util/StreamDialogEntry.java @@ -62,30 +62,23 @@ public enum StreamDialogEntry { * Info: Add this entry within showStreamDialog. */ enqueue(R.string.enqueue_stream, (fragment, item) -> { - fetchItemInfoIfSparse(fragment, item, - fullItem -> NavigationHelper.enqueueOnPlayer(fragment.getContext(), fullItem) - ); + fetchItemInfoIfSparse(fragment, item, fullItem -> + NavigationHelper.enqueueOnPlayer(fragment.getContext(), fullItem)); }), enqueue_next(R.string.enqueue_next_stream, (fragment, item) -> { - fetchItemInfoIfSparse(fragment, item, - fullItem -> NavigationHelper.enqueueNextOnPlayer(fragment.getContext(), fullItem) - ); + fetchItemInfoIfSparse(fragment, item, fullItem -> + NavigationHelper.enqueueNextOnPlayer(fragment.getContext(), fullItem)); }), start_here_on_background(R.string.start_here_on_background, (fragment, item) -> { - fetchItemInfoIfSparse(fragment, item, - fullItem -> { - NavigationHelper.playOnBackgroundPlayer(fragment.getContext(), - fullItem, true); - }); + fetchItemInfoIfSparse(fragment, item, fullItem -> + NavigationHelper.playOnBackgroundPlayer(fragment.getContext(), fullItem, true)); }), start_here_on_popup(R.string.start_here_on_popup, (fragment, item) -> { - fetchItemInfoIfSparse(fragment, item, fullItem -> { - NavigationHelper.playOnPopupPlayer(fragment.getContext(), - fullItem, true); - }); + fetchItemInfoIfSparse(fragment, item, fullItem -> + NavigationHelper.playOnPopupPlayer(fragment.getContext(), fullItem, true)); }), set_as_playlist_thumbnail(R.string.set_as_playlist_thumbnail, (fragment, item) -> {