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) {
|
||||
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") {
|
||||
|
|
Loading…
Reference in a new issue