mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-17 11:19:01 +00:00
handle gifted subscriptions. Fixes #754
This commit is contained in:
parent
5440490320
commit
f71d96fff2
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ public class SubscriptionPlan extends RealmObject {
|
|||
|
||||
public boolean isActive() {
|
||||
Date today = new Date();
|
||||
return planId != null && (this.dateTerminated == null || this.dateTerminated.after(today));
|
||||
return customerId != null && (this.dateTerminated == null || this.dateTerminated.after(today));
|
||||
}
|
||||
|
||||
public int totalNumberOfGems() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue