From 1905f8fec910a6e4c09005866bf5c112c35eca71 Mon Sep 17 00:00:00 2001 From: Recox <5874806+RecoX@users.noreply.github.com> Date: Tue, 11 Jun 2019 21:32:19 +1200 Subject: [PATCH] Changed function name handleSoundNotificationsChange --- src/renderer/pages/preferences-page.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/pages/preferences-page.js b/src/renderer/pages/preferences-page.js index 70ce49a0..32d322bf 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) }