diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-02-02 23:42:36 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-02-02 23:42:36 +0100 |
commit | 2f90247b349c81be83737362f47305e3be4b050d (patch) | |
tree | 58a02f7e3fb2c3acd68f48665cc4b7f42773f3c4 /src/components/layout/AppLayout.js | |
parent | Fix service dark mode (diff) | |
download | ferdium-app-2f90247b349c81be83737362f47305e3be4b050d.tar.gz ferdium-app-2f90247b349c81be83737362f47305e3be4b050d.tar.zst ferdium-app-2f90247b349c81be83737362f47305e3be4b050d.zip |
Temporarily disable "you are offline" notification
Diffstat (limited to 'src/components/layout/AppLayout.js')
-rw-r--r-- | src/components/layout/AppLayout.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index 28eaa7fdc..aa7b737e2 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js | |||
@@ -115,14 +115,15 @@ export default @observer class AppLayout extends Component { | |||
115 | <span dangerouslySetInnerHTML={createMarkup(item.message)} /> | 115 | <span dangerouslySetInnerHTML={createMarkup(item.message)} /> |
116 | </InfoBar> | 116 | </InfoBar> |
117 | ))} | 117 | ))} |
118 | {!isOnline && ( | 118 | {/* {!isOnline && ( |
119 | <InfoBar | 119 | <InfoBar |
120 | type="danger" | 120 | type="danger" |
121 | sticky | ||
121 | > | 122 | > |
122 | <span className="mdi mdi-flash" /> | 123 | <span className="mdi mdi-flash" /> |
123 | {intl.formatMessage(globalMessages.notConnectedToTheInternet)} | 124 | {intl.formatMessage(globalMessages.notConnectedToTheInternet)} |
124 | </InfoBar> | 125 | </InfoBar> |
125 | )} | 126 | )} */} |
126 | {!areRequiredRequestsSuccessful && showRequiredRequestsError && ( | 127 | {!areRequiredRequestsSuccessful && showRequiredRequestsError && ( |
127 | <InfoBar | 128 | <InfoBar |
128 | type="danger" | 129 | type="danger" |