diff --git a/src/browser/settings.jsx b/src/browser/settings.jsx
index 6ecb35d2..c9120c42 100644
--- a/src/browser/settings.jsx
+++ b/src/browser/settings.jsx
@@ -9,7 +9,7 @@ const settings = require('../common/settings');
const React = require('react');
const ReactDOM = require('react-dom');
-const {Grid, Row, Col, Input, Button, ListGroup, ListGroupItem, Glyphicon, HelpBlock} = require('react-bootstrap');
+const {Grid, Row, Col, Input, Button, ListGroup, ListGroupItem, Glyphicon, HelpBlock, Navbar, Nav} = require('react-bootstrap');
var AutoLaunch = require('auto-launch');
@@ -140,10 +140,10 @@ var SettingsPage = React.createClass({
showAddTeamForm: !this.state.showAddTeamForm
});
},
- handleFlashWindowSetting: function(item) {
+ handleFlashWindow: function() {
this.setState({
notifications: {
- flashWindow: item.state
+ flashWindow: this.refs.flashWindow.getChecked() ? 2 : 0
}
});
},
@@ -199,78 +199,78 @@ var SettingsPage = React.createClass({
checked={ this.state.showUnreadBadge } onChange={ this.handleShowUnreadBadge } />);
}
+ if (process.platform === 'win32' || process.platform === 'linux') {
+ options.push();
+ }
+
+ const settingsPage = {
+ navbar: {
+ backgroundColor: '#fff'
+ },
+ heading: {
+ textAlign: 'center',
+ fontSize: '24px',
+ margin: '0',
+ padding: '1em 0'
+ },
+ sectionHeading: {
+ fontSize: '20px',
+ margin: '0',
+ padding: '1em 0'
+ },
+ sectionHeadingLink: {
+ marginTop: '24px',
+ display: 'inline-block',
+ fontSize: '15px'
+ },
+ footer: {
+ padding: '0.4em 0'
+ }
+ }
+
var options_row = (options.length > 0) ? (
Options
+ App options
{ options }
Notifications
Flash the taskbar icon when a new message is received.
- { notificationElements }
-
- Teams
-
-
-