Merge pull request #2274 from 821938089/little-fix

修复书签标题文字锯齿问题
pull/2277/head
kunfei 2 years ago committed by GitHub
commit 64a8026bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/src/main/java/io/legado/app/ui/book/bookmark/BookmarkDecoration.kt

@ -25,6 +25,7 @@ class BookmarkDecoration(val adapter: BookmarkAdapter) : RecyclerView.ItemDecora
private val textPaint = TextPaint().apply {
textSize = 16f.spToPx()
color = appCtx.accentColor
isAntiAlias = true
}
private val textRect = Rect()

Loading…
Cancel
Save