From b6b3512639a5ad6e7bf5ed4e6ffe1519789156f7 Mon Sep 17 00:00:00 2001 From: Jackie Luo Date: Wed, 14 Sep 2016 11:20:31 -0700 Subject: [PATCH] fix(subscription): Remove hardcoded trial length --- .../notifications/lib/headers/account-error-header.jsx | 2 +- internal_packages/preferences/lib/tabs/preferences-identity.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal_packages/notifications/lib/headers/account-error-header.jsx b/internal_packages/notifications/lib/headers/account-error-header.jsx index 57bbe0242..18360121b 100644 --- a/internal_packages/notifications/lib/headers/account-error-header.jsx +++ b/internal_packages/notifications/lib/headers/account-error-header.jsx @@ -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!" ) } diff --git a/internal_packages/preferences/lib/tabs/preferences-identity.jsx b/internal_packages/preferences/lib/tabs/preferences-identity.jsx index d65c386a2..016be7bc5 100644 --- a/internal_packages/preferences/lib/tabs/preferences-identity.jsx +++ b/internal_packages/preferences/lib/tabs/preferences-identity.jsx @@ -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!`; }