From 45373f655f68fdd0b320cde175b6108454ad4731 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 17 Jul 2021 20:32:22 +0530 Subject: Removed Franz paid plans features: - serviceLimit - planSelection - trialStatusBar and other Franz features that were for different tiers of subscription. --- src/components/subscription/SubscriptionPopup.js | 84 ------------------------ 1 file changed, 84 deletions(-) delete mode 100644 src/components/subscription/SubscriptionPopup.js (limited to 'src/components/subscription/SubscriptionPopup.js') diff --git a/src/components/subscription/SubscriptionPopup.js b/src/components/subscription/SubscriptionPopup.js deleted file mode 100644 index 0df43fd4b..000000000 --- a/src/components/subscription/SubscriptionPopup.js +++ /dev/null @@ -1,84 +0,0 @@ -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import { observer } from 'mobx-react'; -import { defineMessages, intlShape } from 'react-intl'; -import Webview from 'react-electron-web-view'; -import ms from 'ms'; - -import Button from '../ui/Button'; - -const messages = defineMessages({ - buttonCancel: { - id: 'subscriptionPopup.buttonCancel', - defaultMessage: '!!!Cancel', - }, - buttonDone: { - id: 'subscriptionPopup.buttonDone', - defaultMessage: '!!!Done', - }, -}); - -export default @observer class SubscriptionPopup extends Component { - static propTypes = { - url: PropTypes.string.isRequired, - closeWindow: PropTypes.func.isRequired, - completeCheck: PropTypes.func.isRequired, - isCompleted: PropTypes.bool.isRequired, - }; - - static contextTypes = { - intl: intlShape, - }; - - state = { - isFakeLoading: false, - }; - - // We delay the window closing a bit in order to give - // the Recurly webhook a few seconds to do it's magic - delayedCloseWindow() { - this.setState({ - isFakeLoading: true, - }); - - setTimeout(() => { - this.props.closeWindow(); - }, ms('1s')); - } - - render() { - const { - url, closeWindow, completeCheck, isCompleted, - } = this.props; - const { intl } = this.context; - - return ( -
-
- -
-
-
-
- ); - } -} -- cgit v1.2.3-70-g09d2