pull/84/head
kunfei 5 years ago
parent 228289b675
commit 40a8c6f174
  1. 2
      app/src/main/java/io/legado/app/model/localBook/LocalBook.kt

@ -11,7 +11,7 @@ object LocalBook {
doc.name?.let { fileName ->
val str = fileName.substringBeforeLast(".")
var name = str.substringBefore("作者")
val author = str.substringAfter("作者")
val author = str.substringAfter("作者", "")
val smhStart = name.indexOf("")
val smhEnd = name.indexOf("")
if (smhStart != -1 && smhEnd != -1) {

Loading…
Cancel
Save