create torrent page progress

This commit is contained in:
Feross Aboukhadijeh
2016-08-23 03:51:05 -07:00
parent 509691a85a
commit 157226f75b
11 changed files with 179 additions and 103 deletions

View File

@@ -64,13 +64,6 @@ module.exports = class TorrentListController {
findFilesRecursive(files, (allFiles) => this.showCreateTorrent(allFiles))
}
// Switches between the advanced and simple Create Torrent UI
toggleCreateTorrentAdvanced () {
var info = this.state.location.current()
if (info.url !== 'create-torrent') return
info.showAdvanced = !info.showAdvanced
}
// Creates a new torrent and start seeeding
createTorrent (options) {
var state = this.state