优化
This commit is contained in:
1 parent
1f2d68dccd
commit
1b059b6438
1 file changed
+1
@@ -123,6 +123,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
|
||||
} else if (remoteBook.lastModify > book.lastCheckTime) {
|
||||
val uri = RemoteBookWebDav.downloadRemoteBook(remoteBook)
|
||||
book.origin = if (uri.isContentScheme()) uri.toString() else uri.path!!
|
||||
book.lastCheckTime = remoteBook.lastModify
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user