change variable 'default_download_directory' to 'download_directory'
This commit is contained in:
parent
5a2f014cb7
commit
bcb7bc373b
3 changed files with 4 additions and 4 deletions
BIN
dist.zip
BIN
dist.zip
Binary file not shown.
|
@ -29,7 +29,7 @@ var SettingsPage = React.createClass({
|
||||||
this.storeSetting('upload_log', event.target.checked);
|
this.storeSetting('upload_log', event.target.checked);
|
||||||
},
|
},
|
||||||
onDownloadDirChange: function(event) {
|
onDownloadDirChange: function(event) {
|
||||||
this.storeSetting('default_download_directory', event.target.value);
|
this.storeSetting('download_directory', event.target.value);
|
||||||
},
|
},
|
||||||
onMaxUploadPrefChange: function(isLimited) {
|
onMaxUploadPrefChange: function(isLimited) {
|
||||||
if (!isLimited) {
|
if (!isLimited) {
|
||||||
|
@ -84,7 +84,7 @@ var SettingsPage = React.createClass({
|
||||||
<section>
|
<section>
|
||||||
<h4>Download directory</h4>
|
<h4>Download directory</h4>
|
||||||
<div className="help">Where would you like the files you download from LBRY to be saved?</div>
|
<div className="help">Where would you like the files you download from LBRY to be saved?</div>
|
||||||
<input style={downloadDirectoryFieldStyles} type="text" name="default_download_directory" defaultValue={this.state.settings.default_download_directory} onChange={this.onDownloadDirChange}/>
|
<input style={downloadDirectoryFieldStyles} type="text" name="download_directory" defaultValue={this.state.settings.download_directory} onChange={this.onDownloadDirChange}/>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h4>Max Upload</h4>
|
<h4>Max Upload</h4>
|
||||||
|
|
|
@ -5,8 +5,8 @@ var StartPage = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
<h1>LBRY is not running</h1>
|
<h1>LBRY has closed</h1>
|
||||||
<Link href="lbry://lbry" label="Start LBRY" />
|
<Link href="lbry://lbry" label="Click here to start LBRY" />
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue