mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -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