Skip to content

Commit

Permalink
Merge pull request #95 from Ruxton/feature/show_summary_when_content_…
Browse files Browse the repository at this point in the history
…not_available

Set the items content to summary if content is unavailable and summar…
  • Loading branch information
swentel authored Aug 31, 2018
2 parents 8104b87 + c997ac8 commit 65d4f90
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ public void onResponse(String response) {
catch (Exception ignored) {}
}

} else if(object.has("summary")) {
textContent = object.getString("summary");
}

// Name.
Expand Down

0 comments on commit 65d4f90

Please sign in to comment.