Skip to content
Snippets Groups Projects
Commit 2fe56fd8 authored by Kegan Dougal's avatar Kegan Dougal
Browse files

Re-add the notifications button.

parent b8e1927e
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ var MatrixClientPeg = require("../../../../src/MatrixClientPeg"); ...@@ -20,6 +20,7 @@ var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var UserSettingsController = require("../../../../src/controllers/organisms/UserSettings"); var UserSettingsController = require("../../../../src/controllers/organisms/UserSettings");
var EditableText = ComponentBroker.get('atoms/EditableText'); var EditableText = ComponentBroker.get('atoms/EditableText');
var EnableNotificationsButton = ComponentBroker.get('atoms/EnableNotificationsButton');
var ChangeAvatar = ComponentBroker.get('molecules/ChangeAvatar'); var ChangeAvatar = ComponentBroker.get('molecules/ChangeAvatar');
var ChangePassword = ComponentBroker.get('molecules/ChangePassword'); var ChangePassword = ComponentBroker.get('molecules/ChangePassword');
var LogoutPrompt = ComponentBroker.get('organisms/LogoutPrompt'); var LogoutPrompt = ComponentBroker.get('organisms/LogoutPrompt');
...@@ -97,6 +98,9 @@ module.exports = React.createClass({ ...@@ -97,6 +98,9 @@ module.exports = React.createClass({
<div className="mx_UserSettings_ClientVersion"> <div className="mx_UserSettings_ClientVersion">
Version {this.state.clientVersion} Version {this.state.clientVersion}
</div> </div>
<div className="mx_UserSettings_EnableNotifications">
<EnableNotificationsButton />
</div>
<div className="mx_UserSettings_Logout"> <div className="mx_UserSettings_Logout">
<button onClick={this.onLogoutClicked}>Sign Out</button> <button onClick={this.onLogoutClicked}>Sign Out</button>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment