mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
fix: typo (#2380)
This commit is contained in:
@@ -122,7 +122,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
|
||||
book.origin = BookType.localTag
|
||||
} else if (remoteBook.lastModify > book.lastCheckTime) {
|
||||
val uri = RemoteBookWebDav.downloadRemoteBook(remoteBook)
|
||||
book.origin = if (uri.isContentScheme()) uri.toString() else uri.path!!
|
||||
book.bookUrl = if (uri.isContentScheme()) uri.toString() else uri.path!!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user