pull/32/head
kunfei 5 years ago
parent 5484141707
commit 12b1631717
  1. 5
      app/src/main/java/io/legado/app/ui/widget/page/ChapterProvider.kt

@ -2,12 +2,15 @@ package io.legado.app.ui.widget.page
import android.text.Spannable import android.text.Spannable
import android.text.SpannableStringBuilder import android.text.SpannableStringBuilder
import android.text.style.ForegroundColorSpan
import android.text.style.RelativeSizeSpan import android.text.style.RelativeSizeSpan
import io.legado.app.App
import io.legado.app.data.entities.BookChapter import io.legado.app.data.entities.BookChapter
import io.legado.app.lib.theme.accentColor
object ChapterProvider { object ChapterProvider {
val readAloudSpan = ForegroundColorSpan(App.INSTANCE.accentColor)
private val titleSpan = RelativeSizeSpan(1.3f) private val titleSpan = RelativeSizeSpan(1.3f)
@Synchronized @Synchronized

Loading…
Cancel
Save