fix: added file URI to Download object for improved download indexing

This commit is contained in:
antonio 2023-08-13 20:27:38 +02:00
parent ec799fff96
commit 600c28c2a3
5 changed files with 32 additions and 815 deletions

View file

@ -20,6 +20,9 @@ class Download(@PrimaryKey override val id: String) : Child(id) {
@ColumnInfo(name = "download_state", defaultValue = "1")
var downloadState: Int = 0
@ColumnInfo(name = "download_uri", defaultValue = "")
var downloadUri: String? = null
constructor(child: Child) : this(child.id) {
parentId = child.parentId
isDir = child.isDir