Skip to content

Commit

Permalink
fix displaying gem cap in subscription details
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Sep 20, 2018
1 parent bc20ab8 commit e0e96a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class SubscriptionDetailsView : LinearLayout {
} else {
monthsSubscribedTextView.text = resources.getString(R.string.months, plan.consecutive?.count ?: 0)
}
gemCapTextView.text = (plan.consecutive?.gemCapExtra ?: 0 + 25).toString()
gemCapTextView.text = plan.totalNumberOfGems().toString()
currentHourglassesTextView.text = plan.consecutive?.trinkets.toString()

if (plan.paymentMethod != null) {
Expand Down

0 comments on commit e0e96a5

Please sign in to comment.