mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 04:04:43 +01:00
Fix bad active state check for subscriptions.
This commit is contained in:
committed by
Greyson Parrelli
parent
49eb80b440
commit
af44985071
@@ -137,7 +137,7 @@ public final class ActiveSubscription {
|
||||
}
|
||||
|
||||
public boolean isInProgress() {
|
||||
return !isActive() && (!isFailedPayment() || isPastDue()) && !isCanceled();
|
||||
return activeSubscription != null && !isActive() && (!isFailedPayment() || isPastDue()) && !isCanceled();
|
||||
}
|
||||
|
||||
public boolean isPastDue() {
|
||||
|
||||
Reference in New Issue
Block a user