diff --git a/src/browser/settings.jsx b/src/browser/settings.jsx
index 059b6c45..ba28ebc3 100644
--- a/src/browser/settings.jsx
+++ b/src/browser/settings.jsx
@@ -127,11 +127,6 @@ var SettingsPage = React.createClass({
});
},
render: function() {
-
- var buttonStyle = {
- marginTop: 20
- };
-
var teams_row = (
@@ -170,55 +165,58 @@ var SettingsPage = React.createClass({
) : null;
- var notificationSettings = [
- {
- label: 'Never',
- state: 0
- },
- /* ToDo: Idle isn't implemented yet
- {
- label: 'Only when idle (after 10 seconds)',
- state: 1
- },*/
- {
- label: 'Always',
- state: 2
- }
- ];
+ var notifications_row = null;
+ if (process.platform === 'win32') {
+ var notificationSettings = [
+ {
+ label: 'Never',
+ state: 0
+ },
+ /* ToDo: Idle isn't implemented yet
+ {
+ label: 'Only when idle (after 10 seconds)',
+ state: 1
+ },*/
+ {
+ label: 'Always',
+ state: 2
+ }
+ ];
- var that = this;
- var notificationElements = notificationSettings.map(function(item) {
- var boundClick = that.handleFlashWindowSetting.bind(that, item);
- return (
-
- );
- });
+ var that = this;
+ var notificationElements = notificationSettings.map(function(item) {
+ var boundClick = that.handleFlashWindowSetting.bind(that, item);
+ return (
+
+ );
+ });
- var notifications = (
-
-
- Notifications
Configure, that the taskicon in the taskbar blinks when you were mentioned.
- { notificationElements }
-
-
- )
+ notifications_row = (
+
+
+ Notifications
Configure, that the taskicon in the taskbar blinks when new message arrives.
+ { notificationElements }
+
+
+ );
+ }
return (
-
+
Teams
-
-
{ teams_row }
{ options_row }
- { notifications }
+ { notifications_row }