[TB] fix nit about bool -> var
This commit is contained in:
parent
dc9c7ff050
commit
85a0e7b04f
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ public class TorBoxTorrentClient(ILogger<TorBoxTorrentClient> logger, IHttpClien
|
||||||
{
|
{
|
||||||
var torrentId = await GetClient().Torrents.GetHashInfoAsync(torrent.Hash, skipCache: true);
|
var torrentId = await GetClient().Torrents.GetHashInfoAsync(torrent.Hash, skipCache: true);
|
||||||
|
|
||||||
bool allFilesDownloadable = torrent.Files.All(file => fileFilter.IsDownloadable(torrent, file.Path, file.Bytes));
|
var allFilesDownloadable = torrent.Files.All(file => fileFilter.IsDownloadable(torrent, file.Path, file.Bytes));
|
||||||
|
|
||||||
if (allFilesDownloadable && torrent.DownloadClient != Data.Enums.DownloadClient.Symlink)
|
if (allFilesDownloadable && torrent.DownloadClient != Data.Enums.DownloadClient.Symlink)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue