fix disable_custom_urls
This commit is contained in:
parent
b58514f427
commit
8c218557df
1 changed files with 3 additions and 3 deletions
|
@ -370,6 +370,9 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
let serverConfig;
|
||||||
|
let header;
|
||||||
|
|
||||||
if (!SdkConfig.get().disable_custom_urls) {
|
if (!SdkConfig.get().disable_custom_urls) {
|
||||||
serverConfig = <ServerConfig ref="serverConfig"
|
serverConfig = <ServerConfig ref="serverConfig"
|
||||||
withToggleButton={true}
|
withToggleButton={true}
|
||||||
|
@ -381,9 +384,6 @@ module.exports = React.createClass({
|
||||||
delayTimeMs={1000} />;
|
delayTimeMs={1000} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
let serverConfig;
|
|
||||||
let header;
|
|
||||||
|
|
||||||
// FIXME: remove status.im theme tweaks
|
// FIXME: remove status.im theme tweaks
|
||||||
const theme = UserSettingsStore.getTheme();
|
const theme = UserSettingsStore.getTheme();
|
||||||
if (theme !== "status") {
|
if (theme !== "status") {
|
||||||
|
|
Loading…
Reference in a new issue