diff options
Diffstat (limited to 'src/components/layout/AppLayout.js')
-rw-r--r-- | src/components/layout/AppLayout.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index eb36ea431..4474fe0f4 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js | |||
@@ -126,7 +126,7 @@ class AppLayout extends Component { | |||
126 | 126 | ||
127 | const { intl } = this.props; | 127 | const { intl } = this.props; |
128 | 128 | ||
129 | const { locked } = settings.app; | 129 | const { locked, automaticUpdates } = settings.app; |
130 | if (locked) { | 130 | if (locked) { |
131 | return <LockedScreen />; | 131 | return <LockedScreen />; |
132 | } | 132 | } |
@@ -191,7 +191,7 @@ class AppLayout extends Component { | |||
191 | {intl.formatMessage(messages.servicesUpdated)} | 191 | {intl.formatMessage(messages.servicesUpdated)} |
192 | </InfoBar> | 192 | </InfoBar> |
193 | )} | 193 | )} |
194 | {appUpdateIsDownloaded && this.state.shouldShowAppUpdateInfoBar && ( | 194 | {automaticUpdates && appUpdateIsDownloaded && this.state.shouldShowAppUpdateInfoBar && ( |
195 | <AppUpdateInfoBar | 195 | <AppUpdateInfoBar |
196 | onInstallUpdate={installAppUpdate} | 196 | onInstallUpdate={installAppUpdate} |
197 | onHide={() => { | 197 | onHide={() => { |