Merge pull request #4439 from ByteHamster/item-without-feed-hotfix
Fixed crash when item has no feed
This commit is contained in:
commit
746190106f
|
@ -154,6 +154,7 @@ public final class DBReader {
|
|||
Feed feed = feedIndex.get(item.getFeedId());
|
||||
if (feed == null) {
|
||||
Log.w(TAG, "No match found for item with ID " + item.getId() + ". Feed ID was " + item.getFeedId());
|
||||
feed = new Feed("", "", "Error: Item without feed");
|
||||
}
|
||||
item.setFeed(feed);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue