Skip to content

Commit

Permalink
Added milestone support in old issue class
Browse files Browse the repository at this point in the history
  • Loading branch information
Motoaleks committed Feb 8, 2018
1 parent e860b82 commit c57c96b
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 c57c96b

Please sign in to comment.