[TB] fix: getting provider in UnpackClient

Co-authored-by: Cucumberrbob <128094686+Cucumberrbob@users.noreply.github.com>
This commit is contained in:
Sam Heinz 2025-03-16 23:33:17 +10:00 committed by GitHub
parent bd96795f34
commit 7d1aeed85c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,7 +104,7 @@ public class UnpackClient(Download download, String destinationPath)
await FileHelper.Delete(filePath);
}
if (Settings.Get.Provider.Provider == Data.Enums.Provider.TorBox)
if (_torrent.ClientKind == Data.Enums.Provider.TorBox)
{
TorBoxTorrentClient.MoveHashDirContents(extractPath, _torrent);
}