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:
Alex Liebowitz 2017-05-12 06:39:32 -04:00
parent c8f7cb2110
commit b12c9e2744

View file

@ -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">