From 8c218557dfe198217a5dfa8a9083da5b1eac234a Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 14 Nov 2017 15:17:50 +0000 Subject: [PATCH] fix disable_custom_urls --- src/components/structures/login/Login.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/structures/login/Login.js b/src/components/structures/login/Login.js index 33ea57029b..821af9c0fe 100644 --- a/src/components/structures/login/Login.js +++ b/src/components/structures/login/Login.js @@ -370,6 +370,9 @@ module.exports = React.createClass({ } */ + let serverConfig; + let header; + if (!SdkConfig.get().disable_custom_urls) { serverConfig = ; } - let serverConfig; - let header; - // FIXME: remove status.im theme tweaks const theme = UserSettingsStore.getTheme(); if (theme !== "status") {