1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

replace some of the status.im theme with general config options

This commit is contained in:
Matthew Hodgson
2017-11-11 23:46:43 +00:00
parent a0cdaf29f9
commit 2827bc0718
7 changed files with 37 additions and 24 deletions

View File

@@ -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}