Skip to content

Commit 2fe56fd

Browse files
committed
Re-add the notifications button.
1 parent b8e1927 commit 2fe56fd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎skins/base/views/organisms/UserSettings.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
2020
var UserSettingsController = require("../../../../src/controllers/organisms/UserSettings");
2121

2222
var EditableText = ComponentBroker.get('atoms/EditableText');
23+
var EnableNotificationsButton = ComponentBroker.get('atoms/EnableNotificationsButton');
2324
var ChangeAvatar = ComponentBroker.get('molecules/ChangeAvatar');
2425
var ChangePassword = ComponentBroker.get('molecules/ChangePassword');
2526
var LogoutPrompt = ComponentBroker.get('organisms/LogoutPrompt');
@@ -97,6 +98,9 @@ module.exports = React.createClass({
9798
<div className="mx_UserSettings_ClientVersion">
9899
Version {this.state.clientVersion}
99100
</div>
101+
<div className="mx_UserSettings_EnableNotifications">
102+
<EnableNotificationsButton />
103+
</div>
100104
<div className="mx_UserSettings_Logout">
101105
<button onClick={this.onLogoutClicked}>Sign Out</button>
102106
</div>

0 commit comments

Comments
 (0)