diff --git a/src/renderer/pages/preferences-page.js b/src/renderer/pages/preferences-page.js index 9bbde8b7..5e76e8f5 100644 --- a/src/renderer/pages/preferences-page.js +++ b/src/renderer/pages/preferences-page.js @@ -27,8 +27,8 @@ class PreferencesPage extends React.Component { this.handleStartupChange = this.handleStartupChange.bind(this) - this.handlesoundNotificationsChange = - this.handlesoundNotificationsChange.bind(this) + this.handleSoundNotificationsChange = + this.handleSoundNotificationsChange.bind(this) } downloadPathSelector () { @@ -213,12 +213,12 @@ class PreferencesPage extends React.Component { className='control' checked={this.props.state.saved.prefs.soundNotifications} label={'Enable sounds'} - onCheck={this.handlesoundNotificationsChange} /> + onCheck={this.handleSoundNotificationsChange} /> ) } - handlesoundNotificationsChange (e, isChecked) { + handleSoundNotificationsChange (e, isChecked) { dispatch('updatePreferences', 'soundNotifications', isChecked) }