Merge pull request #1491 from mfietz/issue/1490-npe-gpodnet-episode-action
GpodnetEpisodeAction.<init>: Media mustn't be null
This commit is contained in:
commit
6e77d02349
|
@ -178,7 +178,7 @@ public class FeedItemMenuHandler {
|
|||
case R.id.mark_unread_item:
|
||||
selectedItem.setPlayed(false);
|
||||
DBWriter.markItemPlayed(selectedItem, FeedItem.UNPLAYED, false);
|
||||
if(GpodnetPreferences.loggedIn()) {
|
||||
if(GpodnetPreferences.loggedIn() && selectedItem.getMedia() != null) {
|
||||
GpodnetEpisodeAction actionNew = new GpodnetEpisodeAction.Builder(selectedItem, Action.NEW)
|
||||
.currentDeviceId()
|
||||
.currentTimestamp()
|
||||
|
|
Loading…
Reference in New Issue