pull/1785/head
kunfei 3 years ago
parent a6e975ee57
commit a99e0876e7
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt
  2. 1
      app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt

@ -162,7 +162,6 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at
val bitmap = ImageProvider.getImage(
book,
textChar.charData,
ReadBook.bookSource,
(textChar.end - textChar.start).toInt(),
(lineBottom - lineTop).toInt()
)

@ -61,7 +61,6 @@ object ImageProvider {
fun getImage(
book: Book,
src: String,
bookSource: BookSource?,
width: Int,
height: Int
): Bitmap {

Loading…
Cancel
Save