You've already forked matrix-react-sdk
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user