remove unused methods (references removed in 116ca29)

This commit is contained in:
Cucumberrbob 2025-06-07 16:52:30 +01:00
parent c1e48d35a5
commit 2b95b8d714
No known key found for this signature in database
GPG key ID: 2B935C47401C3614

View file

@ -110,25 +110,6 @@ export class AddNewTorrentComponent implements OnInit {
this.checkFiles();
}
public downloadFileChecked(file: string): void {
this.downloadFiles[file] = !this.downloadFiles[file];
this.allSelected = true;
this.availableFiles.forEach((file) => {
if (!this.downloadFiles[file.filename]) {
this.allSelected = false;
}
});
}
public downloadFileCheckedAll(): void {
this.allSelected = !this.allSelected;
this.availableFiles.forEach((file) => {
this.downloadFiles[file.filename] = this.allSelected;
});
}
public ok(): void {
this.saving = true;
this.error = null;
@ -244,18 +225,6 @@ export class AddNewTorrentComponent implements OnInit {
}
}
public isRegexExcluded(file: TorrentFileAvailability): boolean {
if (this.regexSelected == null) {
return false;
}
if (this.regexSelected.find((m) => m.filename === file.filename) == null) {
return true;
}
return false;
}
public verifyRegex(): void {
this.includeRegexError = null;
this.excludeRegexError = null;