Set selections by default
In case the user tries to change a file selection state before enabling the torrent.
This commit is contained in:
parent
e86bd26800
commit
d9aa3822ee
1 changed files with 2 additions and 1 deletions
|
|
@ -145,7 +145,8 @@ function setupSavedState (cb) {
|
|||
posterFileName: parsedTorrent.infoHash + path.extname(t.posterFileName),
|
||||
torrentFileName: parsedTorrent.infoHash + '.torrent',
|
||||
magnetURI: parseTorrent.toMagnetURI(parsedTorrent),
|
||||
files: parsedTorrent.files
|
||||
files: parsedTorrent.files,
|
||||
selections: parsedTorrent.files.map((x) => true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue