Prevent NPE
This commit is contained in:
parent
1e5f988479
commit
b7ff0d1565
|
@ -425,10 +425,10 @@ public class FeedMedia extends FeedFile implements Playable {
|
|||
|
||||
@Override
|
||||
public String getFeedTitle() {
|
||||
if (item == null) {
|
||||
if (item == null || item.getFeed() == null) {
|
||||
return null;
|
||||
}
|
||||
return getItem().getFeed().getTitle();
|
||||
return item.getFeed().getTitle();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue