Fix the downloader for using Realm native

This commit is contained in:
ronaldheft 2022-08-14 22:20:24 -04:00
parent 4c8217edf6
commit 5d31499fd6
3 changed files with 67 additions and 42 deletions

View file

@ -73,7 +73,6 @@ class DownloadItemPart: Object, Codable {
@Persisted var uri: String?
@Persisted var destinationUri: String?
@Persisted var progress: Double = 0
var task: URLSessionDownloadTask?
private enum CodingKeys : String, CodingKey {
case id, filename, itemTitle, completed, moved, failed, progress