Remove unnecessary handler
This commit is contained in:
@@ -154,12 +154,6 @@ const SettingsPage = React.createClass({
|
|||||||
});
|
});
|
||||||
setImmediate(this.startSaveConfig);
|
setImmediate(this.startSaveConfig);
|
||||||
},
|
},
|
||||||
handleChangeHideMenuBar() {
|
|
||||||
this.setState({
|
|
||||||
hideMenuBar: this.refs.hideMenuBar.props.checked
|
|
||||||
});
|
|
||||||
setImmediate(this.startSaveConfig);
|
|
||||||
},
|
|
||||||
handleChangeShowTrayIcon() {
|
handleChangeShowTrayIcon() {
|
||||||
var shouldShowTrayIcon = !this.refs.showTrayIcon.props.checked;
|
var shouldShowTrayIcon = !this.refs.showTrayIcon.props.checked;
|
||||||
this.setState({
|
this.setState({
|
||||||
|
Reference in New Issue
Block a user