Skip to content

Commit

Permalink
Merge pull request #69 from AndreySBer/fix_crash_61
Browse files Browse the repository at this point in the history
Crash at repositories issues & commits & projects FIXED
  • Loading branch information
phansier authored Jan 20, 2018
2 parents c73bfad + f2e7240 commit 45e45df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ private void updateFilterSummary() {
} else
labels.setVisibility(GONE);

Milestone filterMilestone = filter.getMilestone().getOldModel();
com.github.mobile.api.model.Milestone newFilterMs = filter.getMilestone();
Milestone filterMilestone = newFilterMs == null ? null : newFilterMs.getOldModel();
if (filterMilestone != null) {
milestone.setText(filterMilestone.getTitle());
milestone.setVisibility(VISIBLE);
Expand Down

0 comments on commit 45e45df

Please sign in to comment.