From b02d6f3cdba34fc1fa5969ed9f0e02cf1302c80f Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Sun, 2 Apr 2017 19:37:13 -0300 Subject: [PATCH] Preferences update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renamed “Downloads” section to “Folders”; watch folder preference moved under “Folders”; updated texts for watch folder preference. --- src/renderer/pages/preferences-page.js | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/src/renderer/pages/preferences-page.js b/src/renderer/pages/preferences-page.js index 05c2ecfe..76097109 100644 --- a/src/renderer/pages/preferences-page.js +++ b/src/renderer/pages/preferences-page.js @@ -114,7 +114,7 @@ class PreferencesPage extends React.Component { { this.handleAutoAddTorrentsChange(e, value) }} /> @@ -142,20 +142,16 @@ class PreferencesPage extends React.Component { torrentsFolderPathSelector () { const torrentsFolderPath = this.props.state.unsaved.prefs.torrentsFolderPath - const value = torrentsFolderPath || 'Path to be watched.' - const description = 'Torrent files saved to this folder will be automatically added.' - return ( -

{description}

) @@ -220,8 +216,10 @@ class PreferencesPage extends React.Component { } return (
- + {this.downloadPathSelector()} + {this.autoAddTorrentsCheckbox()} + {this.torrentsFolderPathSelector()} {this.openExternalPlayerCheckbox()} @@ -231,10 +229,6 @@ class PreferencesPage extends React.Component { {this.setDefaultAppButton()} - - {this.autoAddTorrentsCheckbox()} - {this.torrentsFolderPathSelector()} - {this.setStartupSection()}
)