diff --git a/app/src/main/java/io/legado/app/lib/webdav/WebDav.kt b/app/src/main/java/io/legado/app/lib/webdav/WebDav.kt index cdd53bf55..35f43a441 100644 --- a/app/src/main/java/io/legado/app/lib/webdav/WebDav.kt +++ b/app/src/main/java/io/legado/app/lib/webdav/WebDav.kt @@ -46,7 +46,7 @@ constructor(urlStr: String) { var displayName: String? = null var size: Long = 0 - private var exists = false + var exists = false var parent = "" var urlName = "" get() { @@ -253,12 +253,4 @@ constructor(urlStr: String) { return false } - fun exists(): Boolean { - return exists - } - - fun exists(exists: Boolean) { - this.exists = exists - } - } \ No newline at end of file