This commit is contained in:
kunfei
2023-03-02 11:27:59 +08:00
parent eb635cae15
commit 0d33536725

View File

@@ -79,6 +79,7 @@ object AppWebDav {
}
}
@Throws(NoStackTraceException::class)
fun getDefaultRemoteBookWebDav(): RemoteBookWebDav {
val rootUrl = "${rootWebDavUrl}books"
val authorization = AppWebDav.authorization
@@ -205,6 +206,7 @@ object AppWebDav {
}
}
@Suppress("unused")
suspend fun exportWebDav(byteArray: ByteArray, fileName: String) {
if (!NetworkUtils.isAvailable()) return
try {