pull/48/head
kunfei 5 years ago
parent 2ec754a791
commit a96303e53f
  1. 3
      app/src/main/java/io/legado/app/data/entities/BookChapter.kt

@ -54,5 +54,8 @@ data class BookChapter(
variable = GSON.toJson(variableMap)
}
fun getVariableValue(book: Book, key: String): String? {
return variableMap?.get(key) ?: book.variableMap?.get(key)
}
}

Loading…
Cancel
Save