diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-11-24 20:36:09 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-11-24 20:36:09 +0100 |
commit | 217cb8cdba811b93394811c6d616267cdf838eee (patch) | |
tree | 3683490e8288dbd179d4d60a09247287191e3b65 /src/components/layout/AppLayout.js | |
parent | Delay app based on featureAPI settings (diff) | |
download | ferdium-app-217cb8cdba811b93394811c6d616267cdf838eee.tar.gz ferdium-app-217cb8cdba811b93394811c6d616267cdf838eee.tar.zst ferdium-app-217cb8cdba811b93394811c6d616267cdf838eee.zip |
Add missing delayApp commit
Diffstat (limited to 'src/components/layout/AppLayout.js')
-rw-r--r-- | src/components/layout/AppLayout.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index a4003ef8e..4b20fc480 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js | |||
@@ -5,6 +5,7 @@ import { defineMessages, intlShape } from 'react-intl'; | |||
5 | import { TitleBar } from 'electron-react-titlebar'; | 5 | import { TitleBar } from 'electron-react-titlebar'; |
6 | 6 | ||
7 | import InfoBar from '../ui/InfoBar'; | 7 | import InfoBar from '../ui/InfoBar'; |
8 | import { component as DelayApp } from '../../features/delayApp'; | ||
8 | import globalMessages from '../../i18n/globalMessages'; | 9 | import globalMessages from '../../i18n/globalMessages'; |
9 | 10 | ||
10 | import { isWindows } from '../../environment'; | 11 | import { isWindows } from '../../environment'; |
@@ -58,6 +59,7 @@ export default @observer class AppLayout extends Component { | |||
58 | retryRequiredRequests: PropTypes.func.isRequired, | 59 | retryRequiredRequests: PropTypes.func.isRequired, |
59 | areRequiredRequestsLoading: PropTypes.bool.isRequired, | 60 | areRequiredRequestsLoading: PropTypes.bool.isRequired, |
60 | darkMode: PropTypes.bool.isRequired, | 61 | darkMode: PropTypes.bool.isRequired, |
62 | isDelayAppScreenVisible: PropTypes.bool.isRequired, | ||
61 | }; | 63 | }; |
62 | 64 | ||
63 | static defaultProps = { | 65 | static defaultProps = { |
@@ -86,6 +88,7 @@ export default @observer class AppLayout extends Component { | |||
86 | retryRequiredRequests, | 88 | retryRequiredRequests, |
87 | areRequiredRequestsLoading, | 89 | areRequiredRequestsLoading, |
88 | darkMode, | 90 | darkMode, |
91 | isDelayAppScreenVisible, | ||
89 | } = this.props; | 92 | } = this.props; |
90 | 93 | ||
91 | const { intl } = this.context; | 94 | const { intl } = this.context; |
@@ -152,6 +155,7 @@ export default @observer class AppLayout extends Component { | |||
152 | </a> | 155 | </a> |
153 | </InfoBar> | 156 | </InfoBar> |
154 | )} | 157 | )} |
158 | {isDelayAppScreenVisible && (<DelayApp />)} | ||
155 | {services} | 159 | {services} |
156 | </div> | 160 | </div> |
157 | </div> | 161 | </div> |