[TB] fix: getting provider in UnpackClient
Co-authored-by: Cucumberrbob <128094686+Cucumberrbob@users.noreply.github.com>
This commit is contained in:
parent
bd96795f34
commit
7d1aeed85c
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ public class UnpackClient(Download download, String destinationPath)
|
||||||
await FileHelper.Delete(filePath);
|
await FileHelper.Delete(filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Settings.Get.Provider.Provider == Data.Enums.Provider.TorBox)
|
if (_torrent.ClientKind == Data.Enums.Provider.TorBox)
|
||||||
{
|
{
|
||||||
TorBoxTorrentClient.MoveHashDirContents(extractPath, _torrent);
|
TorBoxTorrentClient.MoveHashDirContents(extractPath, _torrent);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue