Remove SdkConfig
just take a config in MatrixChat, pass the individual things down through the chain. This may become unwieldy: let's see how it goes.
This commit is contained in:
parent
12816c5e1f
commit
7e8c8dd336
3 changed files with 5 additions and 53 deletions
|
@ -31,7 +31,9 @@ module.exports = React.createClass({
|
|||
|
||||
propTypes: {
|
||||
version: React.PropTypes.string,
|
||||
onClose: React.PropTypes.func
|
||||
onClose: React.PropTypes.func,
|
||||
// The brand string given when creating email pushers
|
||||
brand: React.PropTypes.string,
|
||||
},
|
||||
|
||||
getDefaultProps: function() {
|
||||
|
@ -333,7 +335,7 @@ module.exports = React.createClass({
|
|||
<h3>Notifications</h3>
|
||||
|
||||
<div className="mx_UserSettings_section">
|
||||
<Notifications threepids={this.state.threepids} />
|
||||
<Notifications threepids={this.state.threepids} brand={this.props.brand} />
|
||||
</div>
|
||||
</div>);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue