fix(subscription): Remove hardcoded trial length

This commit is contained in:
Jackie Luo 2016-09-14 11:20:31 -07:00
parent 08ec6e534d
commit cba4c4ac51
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ export default class AccountErrorHeader extends React.Component {
(this.state.subscriptionState === IdentityStore.State.Lapsed) ? (
"Your subscription has expired, and we've paused your mailboxes. Renew your subscription to continue using N1!"
) : (
"Your 30-day trial has expired, and we've paused your mailboxes. Subscribe to continue using N1!"
"Your trial has expired, and we've paused your mailboxes. Subscribe to continue using N1!"
)
}
</div>

View file

@ -94,7 +94,7 @@ class PreferencesIdentity extends React.Component {
if (subscriptionState === IdentityStore.State.Trialing) {
let msg = "You have not upgraded to Nylas Pro.";
if (daysUntilSubscriptionRequired > 1) {
msg = `There are ${daysUntilSubscriptionRequired} days remaining in your 30-day trial of Nylas Pro.`;
msg = `There are ${daysUntilSubscriptionRequired} days remaining in your trial of Nylas Pro.`;
} else if (daysUntilSubscriptionRequired === 1) {
msg = `There is one day remaining in your trial of Nylas Pro. Subscribe today!`;
}