diff --git a/src/browser/components/SettingsPage.jsx b/src/browser/components/SettingsPage.jsx index 8d57df30..faaa991d 100644 --- a/src/browser/components/SettingsPage.jsx +++ b/src/browser/components/SettingsPage.jsx @@ -1,6 +1,6 @@ const React = require('react'); const ReactDOM = require('react-dom'); -const {Button, Checkbox, Col, FormGroup, FormControl, ControlLabel, Grid, HelpBlock, Navbar, Row} = require('react-bootstrap'); +const {Button, Checkbox, Col, FormGroup, FormControl, ControlLabel, Grid, HelpBlock, Navbar, Radio, Row} = require('react-bootstrap'); const {ipcRenderer, remote} = require('electron'); const AutoLaunch = require('auto-launch'); @@ -280,19 +280,32 @@ const SettingsPage = React.createClass({ } if (process.platform === 'linux') { options.push( - - {'Icon theme (Need to restart the application)'} - - - - - ); + + {'Icon theme: '} + { + this.setState({trayIconTheme: 'light'}); + }} + >{'Light'} + {' '} + { + this.setState({trayIconTheme: 'dark'}); + }} + >{'Dark'} + + ); } if (process.platform === 'linux') {