rename share_usage_stats setting

This commit is contained in:
Alex Grintsvayg 2017-04-27 08:40:29 -04:00
parent 88720903f4
commit 63da853ba7
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
https://github.com/lbryio/lbry/releases/download/v0.10.0rc15/lbrynet-daemon-v0.10.0rc15-OSNAME.zip
https://github.com/lbryio/lbry/releases/download/v0.10.1rc1/lbrynet-daemon-v0.10.1rc1-OSNAME.zip

View file

@ -22,7 +22,7 @@ var SettingsPage = React.createClass({
this.setDaemonSetting('run_on_startup', event.target.checked);
},
onShareDataChange: function (event) {
this.setDaemonSetting('share_debug_info', event.target.checked);
this.setDaemonSetting('share_usage_stats', event.target.checked);
},
onDownloadDirChange: function(event) {
this.setDaemonSetting('download_directory', event.target.value);
@ -189,7 +189,7 @@ var SettingsPage = React.createClass({
<div className="card__content">
<FormRow type="checkbox"
onChange={this.onShareDataChange}
defaultChecked={this.state.daemonSettings.share_debug_info}
defaultChecked={this.state.daemonSettings.share_usage_stats}
label="Help make LBRY better by contributing diagnostic data about my usage" />
</div>
</section>