Allow detection of waiting_file_selection

This commit is contained in:
Ben Sarmiento
2023-12-09 00:50:42 +01:00
parent 4dcd2e64bb
commit 2281b58b59
9 changed files with 115 additions and 87 deletions

View File

@@ -2,7 +2,7 @@ package torrent
import cmap "github.com/orcaman/concurrent-map/v2"
func (t *TorrentManager) CheckDeletedState(torrent *Torrent) bool {
func (t *TorrentManager) CheckDeletedStatus(torrent *Torrent) bool {
var unselectedIDs []int
torrent.SelectedFiles.IterCb(func(_ string, file *File) {
if file.Link == "unselect" {