pull/32/head
kunfei 5 years ago
parent 3bcf6a6c11
commit c8bdb7d894
  1. 1
      app/src/main/java/io/legado/app/help/storage/Restore.kt

@ -106,6 +106,7 @@ object Restore {
source.bookSourceGroup = jsonItem.readString("bookSourceGroup") ?: "" source.bookSourceGroup = jsonItem.readString("bookSourceGroup") ?: ""
source.loginUrl = jsonItem.readString("loginUrl") source.loginUrl = jsonItem.readString("loginUrl")
source.bookUrlPattern = jsonItem.readString("ruleBookUrlPattern") source.bookUrlPattern = jsonItem.readString("ruleBookUrlPattern")
source.customOrder = jsonItem.readInt("serialNumber") ?: 0
val searchRule = SearchRule( val searchRule = SearchRule(
searchUrl = OldRule.toNewUrl(jsonItem.readString("ruleSearchUrl")), searchUrl = OldRule.toNewUrl(jsonItem.readString("ruleSearchUrl")),
bookList = jsonItem.readString("ruleSearchList"), bookList = jsonItem.readString("ruleSearchList"),

Loading…
Cancel
Save