Settings: Use new "directory" field type for download directory
Before it was using a plain text box (hold-over from when we were in-browser and couldn't use a directory selector)
This commit is contained in:
parent
c8f7cb2110
commit
b12c9e2744
1 changed files with 5 additions and 5 deletions
|
@ -97,11 +97,11 @@ var SettingsPage = React.createClass({
|
|||
<h3>Download Directory</h3>
|
||||
</div>
|
||||
<div className="card__content">
|
||||
<FormRow type="text"
|
||||
name="download_directory"
|
||||
defaultValue={this.state.daemonSettings.download_directory}
|
||||
helper="LBRY downloads will be saved here."
|
||||
onChange={this.onDownloadDirChange} />
|
||||
<FormRow type="directory"
|
||||
name="download_directory"
|
||||
defaultValue={this.state.daemonSettings.download_directory}
|
||||
helper="LBRY downloads will be saved here."
|
||||
onChange={this.onDownloadDirChange} />
|
||||
</div>
|
||||
</section>
|
||||
<section className="card">
|
||||
|
|
Loading…
Reference in a new issue