fix disable_custom_urls
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user