mirror of
https://github.com/Ferrite-iOS/Ferrite.git
synced 2026-04-21 08:52:00 +00:00
Tree: Format
Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
20dd00fa85
commit
25bff02875
1 changed files with 1 additions and 2 deletions
|
|
@ -309,9 +309,8 @@ class RealDebrid: PollingDebridSource, ObservableObject {
|
||||||
let response = try await torrentInfo(debridID: selectedMagnetId)
|
let response = try await torrentInfo(debridID: selectedMagnetId)
|
||||||
let filteredFiles = response.files.filter { $0.selected == 1 }
|
let filteredFiles = response.files.filter { $0.selected == 1 }
|
||||||
|
|
||||||
|
// Need to return this to the user
|
||||||
if filteredFiles.count > 1, iaFile == nil {
|
if filteredFiles.count > 1, iaFile == nil {
|
||||||
// Need to return this to the user
|
|
||||||
|
|
||||||
var copiedIA = ia
|
var copiedIA = ia
|
||||||
|
|
||||||
copiedIA?.files = response.files.enumerated().compactMap { index, file in
|
copiedIA?.files = response.files.enumerated().compactMap { index, file in
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue