pull/38/head
kunfei 5 years ago
parent 3be66e388a
commit 4bdbb4aadd
  1. 4
      app/src/main/java/io/legado/app/data/entities/BookSource.kt

@ -78,8 +78,8 @@ data class BookSource(
AppConst.SCRIPT_ENGINE.eval(it.substring(4, it.lastIndexOf("<"))).toString()
else -> it
}
GSON.fromJsonObject<Map<String, String>>(header1)?.let { headers ->
headerMap.putAll(headers)
GSON.fromJsonObject<Map<String, String>>(header1)?.let { map ->
headerMap.putAll(map)
}
}
return headerMap

Loading…
Cancel
Save