diff options
author | 2021-05-26 21:05:50 +0530 | |
---|---|---|
committer | 2021-05-26 21:05:50 +0530 | |
commit | 296ce5ce62bcde6888df291f97105fa912ed7d35 (patch) | |
tree | b28e7d2373f1020c1183469aa3a9feafecede569 /src/features/planSelection | |
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/planSelection')
-rw-r--r-- | src/features/planSelection/containers/PlanSelectionScreen.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/features/planSelection/containers/PlanSelectionScreen.js b/src/features/planSelection/containers/PlanSelectionScreen.js index e4d85cda5..fba65506e 100644 --- a/src/features/planSelection/containers/PlanSelectionScreen.js +++ b/src/features/planSelection/containers/PlanSelectionScreen.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import React, { Component } from 'react'; | 1 | import React, { Component } from 'react'; |
2 | import { observer, inject } from 'mobx-react'; | 2 | import { observer, inject } from 'mobx-react'; |
3 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
4 | import { remote } from 'electron'; | 4 | import { dialog, app } from '@electron/remote'; |
5 | import { defineMessages, intlShape } from 'react-intl'; | 5 | import { defineMessages, intlShape } from 'react-intl'; |
6 | 6 | ||
7 | import FeaturesStore from '../../../stores/FeaturesStore'; | 7 | import FeaturesStore from '../../../stores/FeaturesStore'; |
@@ -10,8 +10,6 @@ import PlanSelection from '../components/PlanSelection'; | |||
10 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; | 10 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; |
11 | import { planSelectionStore } from '..'; | 11 | import { planSelectionStore } from '..'; |
12 | 12 | ||
13 | const { dialog, app } = remote; | ||
14 | |||
15 | const messages = defineMessages({ | 13 | const messages = defineMessages({ |
16 | dialogTitle: { | 14 | dialogTitle: { |
17 | id: 'feature.planSelection.fullscreen.dialog.title', | 15 | id: 'feature.planSelection.fullscreen.dialog.title', |