mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 20:24:32 +01:00
Add ability to Self-heal SEPA bug.
This commit is contained in:
@@ -72,7 +72,7 @@ public final class ActiveSubscription {
|
||||
}
|
||||
}
|
||||
|
||||
private enum Status {
|
||||
public enum Status {
|
||||
/**
|
||||
* The subscription is currently in a trial period and it's safe to provision your product for your customer.
|
||||
* The subscription transitions automatically to active when the first payment is made.
|
||||
@@ -123,7 +123,7 @@ public final class ActiveSubscription {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
private static Status getStatus(String status) {
|
||||
public static Status getStatus(String status) {
|
||||
for (Status s : Status.values()) {
|
||||
if (Objects.equals(status, s.status)) {
|
||||
return s;
|
||||
|
||||
Reference in New Issue
Block a user