mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
Fix crash when opening video in local playlist tab
This commit is contained in:
parent
d8b5549fd9
commit
13a065f2dc
@ -177,7 +177,7 @@ public class LocalPlaylistFragment extends BaseLocalListFragment<List<PlaylistSt
|
|||||||
public void selected(final LocalItem selectedItem) {
|
public void selected(final LocalItem selectedItem) {
|
||||||
if (selectedItem instanceof PlaylistStreamEntry) {
|
if (selectedItem instanceof PlaylistStreamEntry) {
|
||||||
final PlaylistStreamEntry item = (PlaylistStreamEntry) selectedItem;
|
final PlaylistStreamEntry item = (PlaylistStreamEntry) selectedItem;
|
||||||
NavigationHelper.openVideoDetailFragment(getFragmentManager(),
|
NavigationHelper.openVideoDetailFragment(getFM(),
|
||||||
item.getStreamEntity().getServiceId(), item.getStreamEntity().getUrl(),
|
item.getStreamEntity().getServiceId(), item.getStreamEntity().getUrl(),
|
||||||
item.getStreamEntity().getTitle());
|
item.getStreamEntity().getTitle());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user