fix arg name
This commit is contained in:
parent
82561e3aaf
commit
a450d294ca
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ var SettingsPage = React.createClass({
|
||||||
this.setDaemonSetting('run_on_startup', event.target.checked);
|
this.setDaemonSetting('run_on_startup', event.target.checked);
|
||||||
},
|
},
|
||||||
onShareDataChange: function (event) {
|
onShareDataChange: function (event) {
|
||||||
this.setDaemonSetting('share_usage_stats', event.target.checked);
|
this.setDaemonSetting('share_usage_data', event.target.checked);
|
||||||
},
|
},
|
||||||
onDownloadDirChange: function(event) {
|
onDownloadDirChange: function(event) {
|
||||||
this.setDaemonSetting('download_directory', event.target.value);
|
this.setDaemonSetting('download_directory', event.target.value);
|
||||||
|
@ -197,7 +197,7 @@ var SettingsPage = React.createClass({
|
||||||
<div className="card__content">
|
<div className="card__content">
|
||||||
<FormRow type="checkbox"
|
<FormRow type="checkbox"
|
||||||
onChange={this.onShareDataChange}
|
onChange={this.onShareDataChange}
|
||||||
defaultChecked={this.state.daemonSettings.share_usage_stats}
|
defaultChecked={this.state.daemonSettings.share_usage_data}
|
||||||
label="Help make LBRY better by contributing diagnostic data about my usage" />
|
label="Help make LBRY better by contributing diagnostic data about my usage" />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Add table
Reference in a new issue