aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/serviceProxy
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-26 21:05:50 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-26 21:05:50 +0530
commit296ce5ce62bcde6888df291f97105fa912ed7d35 (patch)
treeb28e7d2373f1020c1183469aa3a9feafecede569 /src/features/serviceProxy
parentAdded new entry in context menu: 'Download image' (#1449) (diff)
downloadferdium-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')
-rw-r--r--src/features/serviceProxy/index.js8
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 @@
1import { autorun, observable } from 'mobx'; 1import { autorun, observable } from 'mobx';
2import { remote } from 'electron'; 2import { session } from '@electron/remote';
3
4// import { DEFAULT_FEATURES_CONFIG } from '../../config';
5
6const { session } = remote;
7 3
8const debug = require('debug')('Ferdi:feature:serviceProxy'); 4const 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