Skip to content

Commit 66f3d57

Browse files
Closes #18
1 parent e4a0e0a commit 66f3d57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Mission/Views/ListRow.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ struct ListRow: View {
7979
let info = makeConfig(store: store)
8080
deleteTorrent(torrent: torrent, erase: true, config: info.config, auth: info.auth, onDel: { response in
8181
// TODO: Handle response
82-
deleteDialog.toggle()
8382
})
83+
deleteDialog.toggle()
8484
} label: {
8585
Text("Delete files")
8686
}
8787
Button("Don't delete") {
8888
let info = makeConfig(store: store)
8989
deleteTorrent(torrent: torrent, erase: false, config: info.config, auth: info.auth, onDel: { response in
9090
// TODO: Handle response
91-
deleteDialog.toggle()
9291
})
92+
deleteDialog.toggle()
9393
}
9494
} message: {
9595
Text("Would you like to delete the transfered files from disk?")

0 commit comments

Comments
 (0)