aboutsummaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-17 20:32:22 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-20 16:02:15 +0000
commit45373f655f68fdd0b320cde175b6108454ad4731 (patch)
treec1ccb0c73639d754b68a36a1977b74471fe4b566 /src/models
parentNew Crowdin updates (#1668) (diff)
downloadferdium-app-45373f655f68fdd0b320cde175b6108454ad4731.tar.gz
ferdium-app-45373f655f68fdd0b320cde175b6108454ad4731.tar.zst
ferdium-app-45373f655f68fdd0b320cde175b6108454ad4731.zip
Removed Franz paid plans features:
- serviceLimit - planSelection - trialStatusBar and other Franz features that were for different tiers of subscription.
Diffstat (limited to 'src/models')
-rw-r--r--src/models/Plan.js17
-rw-r--r--src/models/Service.js5
-rw-r--r--src/models/User.js3
3 files changed, 0 insertions, 25 deletions
diff --git a/src/models/Plan.js b/src/models/Plan.js
deleted file mode 100644
index 3dedf0d5e..000000000
--- a/src/models/Plan.js
+++ /dev/null
@@ -1,17 +0,0 @@
1// @flow
2
3export default class Plan {
4 month = {
5 id: '',
6 price: 0,
7 }
8
9 year = {
10 id: '',
11 price: 0,
12 }
13
14 constructor(data) {
15 Object.assign(this, data);
16 }
17}
diff --git a/src/models/Service.js b/src/models/Service.js
index 5656295da..397950787 100644
--- a/src/models/Service.js
+++ b/src/models/Service.js
@@ -10,11 +10,6 @@ import UserAgent from './UserAgent';
10 10
11const debug = require('debug')('Ferdi:Service'); 11const debug = require('debug')('Ferdi:Service');
12 12
13export const RESTRICTION_TYPES = {
14 SERVICE_LIMIT: 0,
15 CUSTOM_URL: 1,
16};
17
18export default class Service { 13export default class Service {
19 id = ''; 14 id = '';
20 15
diff --git a/src/models/User.js b/src/models/User.js
index 74a39926b..d864dde0c 100644
--- a/src/models/User.js
+++ b/src/models/User.js
@@ -24,8 +24,6 @@ export default class User {
24 24
25 @observable hadSubscription = false; 25 @observable hadSubscription = false;
26 26
27 @observable isPremium = true;
28
29 @observable beta = false; 27 @observable beta = false;
30 28
31 @observable donor = {}; 29 @observable donor = {};
@@ -49,7 +47,6 @@ export default class User {
49 this.lastname = data.lastname || this.lastname; 47 this.lastname = data.lastname || this.lastname;
50 this.organization = data.organization || this.organization; 48 this.organization = data.organization || this.organization;
51 this.accountType = data.accountType || this.accountType; 49 this.accountType = data.accountType || this.accountType;
52 this.isPremium = true;
53 this.beta = data.beta || this.beta; 50 this.beta = data.beta || this.beta;
54 this.donor = data.donor || this.donor; 51 this.donor = data.donor || this.donor;
55 this.isDonor = data.isDonor || this.isDonor; 52 this.isDonor = data.isDonor || this.isDonor;