added start / stop events; starting / stopping folder watcher.
This commit is contained in:
@@ -130,6 +130,13 @@ class PreferencesPage extends React.Component {
|
||||
}
|
||||
|
||||
dispatch('updatePreferences', 'autoAddTorrents', isChecked)
|
||||
|
||||
if (isChecked) {
|
||||
dispatch('startFolderWatcher', null)
|
||||
return
|
||||
}
|
||||
|
||||
dispatch('stopFolderWatcher', null)
|
||||
}
|
||||
|
||||
torrentsFolderPathSelector () {
|
||||
|
||||
Reference in New Issue
Block a user