This commit is contained in:
kunfei
2022-04-14 12:16:13 +08:00
parent a6e975ee57
commit a99e0876e7
2 changed files with 0 additions and 2 deletions
@@ -162,7 +162,6 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at
val bitmap = ImageProvider.getImage( val bitmap = ImageProvider.getImage(
book, book,
textChar.charData, textChar.charData,
ReadBook.bookSource,
(textChar.end - textChar.start).toInt(), (textChar.end - textChar.start).toInt(),
(lineBottom - lineTop).toInt() (lineBottom - lineTop).toInt()
) )
@@ -61,7 +61,6 @@ object ImageProvider {
fun getImage( fun getImage(
book: Book, book: Book,
src: String, src: String,
bookSource: BookSource?,
width: Int, width: Int,
height: Int height: Int
): Bitmap { ): Bitmap {