Skip to content

Commit

Permalink
[Fix] Not showing image on some RSS
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-id committed Mar 17, 2022
1 parent 24f0f32 commit 9a5a979
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ private RssMedia readMediaContent(XmlPullParser xpp) throws IOException, XmlPull
rssMedia.type = RssMedia.TYPE_IMAGE;
} else if (medium.equals("video")) {
rssMedia.type = RssMedia.TYPE_VIDEO;
} else {
// if nothing matches by default it is image
rssMedia.type = RssMedia.TYPE_IMAGE;
}
break;
}
Expand Down

0 comments on commit 9a5a979

Please sign in to comment.