Skip to content

Commit

Permalink
Merge pull request #100 from AndreySBer/bugfix-73-milestoneNotDisplaying
Browse files Browse the repository at this point in the history
Added milestone support in old issue class
  • Loading branch information
phansier committed Feb 8, 2018
2 parents e860b82 + c57c96b commit e518b7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/github/mobile/api/model/Issue.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public org.eclipse.egit.github.core.Issue getOldModel() {
issue.setCreatedAt(created_at);
issue.setClosedAt(closed_at);
issue.setUpdatedAt(updated_at);
if (milestone != null){
issue.setMilestone(milestone.getOldModel());
}

if (user != null) {
issue.setUser(user.getOldModel());
}
Expand Down

0 comments on commit e518b7c

Please sign in to comment.