Merge pull request #6137 from ByteHamster/fix-crash-clicking-icon
Fix crash when clicking cover icon when episode is not loaded yet
This commit is contained in:
commit
232a026651
|
@ -369,6 +369,9 @@ public class ItemFragment extends Fragment {
|
|||
}
|
||||
|
||||
private void openPodcast() {
|
||||
if (item == null) {
|
||||
return;
|
||||
}
|
||||
Fragment fragment = FeedItemlistFragment.newInstance(item.getFeedId());
|
||||
((MainActivity) getActivity()).loadChildFragment(fragment);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue