diff options
author | Aditya Mangalampalli <aditya.mangalampalli@gmail.com> | 2022-04-15 02:00:25 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-16 21:57:57 +0530 |
commit | 210131ca184c3aa043371857c022aa1aa149efbf (patch) | |
tree | 6bc4e10a1540e55a66146c099bc468a12287425e /src/models | |
parent | Update submodule url to ferdium-recipes (#1) (diff) | |
download | ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.gz ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.zst ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.zip |
Matched casing for almost all replacements
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Recipe.ts | 2 | ||||
-rw-r--r-- | src/models/Service.js | 4 | ||||
-rw-r--r-- | src/models/User.ts | 2 | ||||
-rw-r--r-- | src/models/UserAgent.js | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/models/Recipe.ts b/src/models/Recipe.ts index 959b43fd9..4463abe95 100644 --- a/src/models/Recipe.ts +++ b/src/models/Recipe.ts | |||
@@ -78,7 +78,7 @@ export default class Recipe { | |||
78 | } | 78 | } |
79 | 79 | ||
80 | if (!data.id) { | 80 | if (!data.id) { |
81 | // Ferdi 4 recipes do not have an Id | 81 | // Ferdium 4 recipes do not have an Id |
82 | throw new Error(`Recipe '${data.name}' requires Id`); | 82 | throw new Error(`Recipe '${data.name}' requires Id`); |
83 | } | 83 | } |
84 | 84 | ||
diff --git a/src/models/Service.js b/src/models/Service.js index bd4f8c223..94b907d4e 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -14,7 +14,7 @@ import { | |||
14 | ifUndefinedNumber, | 14 | ifUndefinedNumber, |
15 | } from '../jsUtils'; | 15 | } from '../jsUtils'; |
16 | 16 | ||
17 | const debug = require('debug')('Ferdi:Service'); | 17 | const debug = require('debug')('Ferdium:Service'); |
18 | 18 | ||
19 | export default class Service { | 19 | export default class Service { |
20 | id = ''; | 20 | id = ''; |
@@ -173,7 +173,7 @@ export default class Service { | |||
173 | ); | 173 | ); |
174 | 174 | ||
175 | // Check if "Hibernate on Startup" is enabled and hibernate all services except active one | 175 | // Check if "Hibernate on Startup" is enabled and hibernate all services except active one |
176 | const { hibernateOnStartup } = window['ferdi'].stores.settings.app; | 176 | const { hibernateOnStartup } = window['ferdium'].stores.settings.app; |
177 | // The service store is probably not loaded yet so we need to use localStorage data to get active service | 177 | // The service store is probably not loaded yet so we need to use localStorage data to get active service |
178 | const isActive = | 178 | const isActive = |
179 | window.localStorage.service && | 179 | window.localStorage.service && |
diff --git a/src/models/User.ts b/src/models/User.ts index 571f1f847..8c8f3e490 100644 --- a/src/models/User.ts +++ b/src/models/User.ts | |||
@@ -13,7 +13,7 @@ interface IUser { | |||
13 | team: object; | 13 | team: object; |
14 | } | 14 | } |
15 | 15 | ||
16 | // TODO: Need to cleanup these fields since we have removed the tiers of the paid plans from Ferdi | 16 | // TODO: Need to cleanup these fields since we have removed the tiers of the paid plans from Ferdium |
17 | export default class User { | 17 | export default class User { |
18 | id: string | null = null; | 18 | id: string | null = null; |
19 | 19 | ||
diff --git a/src/models/UserAgent.js b/src/models/UserAgent.js index f971fb08a..caacb6797 100644 --- a/src/models/UserAgent.js +++ b/src/models/UserAgent.js | |||
@@ -2,7 +2,7 @@ import { action, computed, observe, observable } from 'mobx'; | |||
2 | 2 | ||
3 | import defaultUserAgent from '../helpers/userAgent-helpers'; | 3 | import defaultUserAgent from '../helpers/userAgent-helpers'; |
4 | 4 | ||
5 | const debug = require('debug')('Ferdi:UserAgent'); | 5 | const debug = require('debug')('Ferdium:UserAgent'); |
6 | 6 | ||
7 | export default class UserAgent { | 7 | export default class UserAgent { |
8 | _willNavigateListener = null; | 8 | _willNavigateListener = null; |
@@ -37,7 +37,7 @@ export default class UserAgent { | |||
37 | if (typeof this.getUserAgent === 'function') { | 37 | if (typeof this.getUserAgent === 'function') { |
38 | return this.getUserAgent(); | 38 | return this.getUserAgent(); |
39 | } | 39 | } |
40 | const globalPref = window['ferdi'].stores.settings.all.app.userAgentPref; | 40 | const globalPref = window['ferdium'].stores.settings.all.app.userAgentPref; |
41 | if (typeof globalPref === 'string') { | 41 | if (typeof globalPref === 'string') { |
42 | const trimmed = globalPref.trim(); | 42 | const trimmed = globalPref.trim(); |
43 | if (trimmed !== '') { | 43 | if (trimmed !== '') { |