replace some of the status.im theme with general config options
This commit is contained in:
parent
a0cdaf29f9
commit
2827bc0718
7 changed files with 37 additions and 24 deletions
|
@ -24,7 +24,6 @@ import Modal from "../../../Modal";
|
|||
import MatrixClientPeg from "../../../MatrixClientPeg";
|
||||
|
||||
import PasswordReset from "../../../PasswordReset";
|
||||
import UserSettingsStore from "../../../UserSettingsStore";
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'ForgotPassword',
|
||||
|
@ -184,10 +183,8 @@ module.exports = React.createClass({
|
|||
</div>
|
||||
);
|
||||
} else {
|
||||
let theme = UserSettingsStore.getTheme();
|
||||
|
||||
let serverConfigSection;
|
||||
if (theme !== 'status') {
|
||||
if (!config.disable_custom_urls) {
|
||||
serverConfigSection = (
|
||||
<ServerConfig ref="serverConfig"
|
||||
withToggleButton={true}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue