Skip to content

Commit b4d6015

Browse files
committed
Add the Open in browser option when long-pressing a stream for local and online playlists and for history
1 parent b9aaafd commit b4d6015

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/fragments/list/playlist/PlaylistFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ protected void showStreamDialog(final StreamInfoItem item) {
161161
StreamDialogEntry.share
162162
));
163163
}
164+
entries.add(StreamDialogEntry.open_in_browser);
164165
if (KoreUtil.shouldShowPlayWithKodi(context, item.getServiceId())) {
165166
entries.add(StreamDialogEntry.play_with_kodi);
166167
}

app/src/main/java/org/schabi/newpipe/local/history/StatisticsPlaylistFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ private void showStreamDialog(final StreamStatisticsEntry item) {
358358
StreamDialogEntry.share
359359
));
360360
}
361+
entries.add(StreamDialogEntry.open_in_browser);
361362
if (KoreUtil.shouldShowPlayWithKodi(context, infoItem.getServiceId())) {
362363
entries.add(StreamDialogEntry.play_with_kodi);
363364
}

app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ protected void showStreamItemDialog(final PlaylistStreamEntry item) {
769769
StreamDialogEntry.share
770770
));
771771
}
772+
entries.add(StreamDialogEntry.open_in_browser);
772773
if (KoreUtil.shouldShowPlayWithKodi(context, infoItem.getServiceId())) {
773774
entries.add(StreamDialogEntry.play_with_kodi);
774775
}

0 commit comments

Comments
 (0)