优化
This commit is contained in:
1 parent
cc47315cef
commit
e24aa0dbd8
1 file changed
+2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user