fix disable_custom_urls

This commit is contained in:
Matthew Hodgson 2017-11-14 15:17:50 +00:00
parent b58514f427
commit 8c218557df

View file

@ -370,6 +370,9 @@ module.exports = React.createClass({
}
*/
let serverConfig;
let header;
if (!SdkConfig.get().disable_custom_urls) {
serverConfig = <ServerConfig ref="serverConfig"
withToggleButton={true}
@ -381,9 +384,6 @@ module.exports = React.createClass({
delayTimeMs={1000} />;
}
let serverConfig;
let header;
// FIXME: remove status.im theme tweaks
const theme = UserSettingsStore.getTheme();
if (theme !== "status") {