diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-26 21:05:50 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 21:05:50 +0530 |
commit | 296ce5ce62bcde6888df291f97105fa912ed7d35 (patch) | |
tree | b28e7d2373f1020c1183469aa3a9feafecede569 /src/features/serviceProxy/index.js | |
parent | Added new entry in context menu: 'Download image' (#1449) (diff) | |
download | ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.tar.gz ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.tar.zst ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.zip |
Replace 'remote' with 'electron/remote' (#1448)
* Locked new version of 'recipes' submodule with corresponding changes.
Diffstat (limited to 'src/features/serviceProxy/index.js')
-rw-r--r-- | src/features/serviceProxy/index.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/features/serviceProxy/index.js b/src/features/serviceProxy/index.js index e78607667..f74f5f0b2 100644 --- a/src/features/serviceProxy/index.js +++ b/src/features/serviceProxy/index.js | |||
@@ -1,9 +1,5 @@ | |||
1 | import { autorun, observable } from 'mobx'; | 1 | import { autorun, observable } from 'mobx'; |
2 | import { remote } from 'electron'; | 2 | import { session } from '@electron/remote'; |
3 | |||
4 | // import { DEFAULT_FEATURES_CONFIG } from '../../config'; | ||
5 | |||
6 | const { session } = remote; | ||
7 | 3 | ||
8 | const debug = require('debug')('Ferdi:feature:serviceProxy'); | 4 | const debug = require('debug')('Ferdi:feature:serviceProxy'); |
9 | 5 | ||
@@ -16,8 +12,6 @@ export default function init(stores) { | |||
16 | debug('Initializing `serviceProxy` feature'); | 12 | debug('Initializing `serviceProxy` feature'); |
17 | 13 | ||
18 | autorun(() => { | 14 | autorun(() => { |
19 | // const { isServiceProxyEnabled, isServiceProxyIncludedInCurrentPlan } = stores.features.features; | ||
20 | |||
21 | config.isEnabled = true; | 15 | config.isEnabled = true; |
22 | config.isIncludedInCurrentPlan = true; | 16 | config.isIncludedInCurrentPlan = true; |
23 | 17 | ||