Delete in progress fixers

This commit is contained in:
Ben Sarmiento
2024-02-05 12:59:55 +01:00
parent eb9d91f8de
commit 58332a354b
4 changed files with 11 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ type TorrentInfo struct {
Files []File `json:"files"`
}
func (i *TorrentInfo) IsDone() bool {
func (i *TorrentInfo) IsComplete() bool {
selectedCount := 0
for _, file := range i.Files {
if file.Selected == 1 {