Skip to content

Commit

Permalink
Fix next issue indicator card
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydtorres committed Jun 16, 2021
1 parent 991b21e commit 70d2fc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void setIssueCards(List<Parcelable> cards, long nextIssueTime) {
issuesCards = new ArrayList<Object>(cards);
final int maxIssues = !NightmareHelper.getIsZDayActive(context)
? IssueFullHolder.MAX_ISSUE_COUNT_REGULAR : IssueFullHolder.MAX_ISSUE_COUNT_ZOMBIE;
if (cards.size() < maxIssues || nextIssueTime != IssueFullHolder.UNKNOWN_NEXT_ISSUE_TIME) {
if (issuesCards.size() < maxIssues && nextIssueTime != IssueFullHolder.UNKNOWN_NEXT_ISSUE_TIME) {
issuesCards.add(nextIssueTime);
}
notifyDataSetChanged();
Expand Down

0 comments on commit 70d2fc4

Please sign in to comment.