pull/32/head
kunfei 5 years ago
parent d766fc20bc
commit 4412382fa2
  1. 2
      app/src/main/java/io/legado/app/ui/widget/page/ChapterProvider.kt

@ -25,7 +25,7 @@ object ChapterProvider {
val spannableStringBuilder = SpannableStringBuilder(surplusText)
if (pageIndex == 0) {
var end = surplusText.indexOf("\n")
if (end == -1) end = surplusText.length.minus(1)
if (end == -1) end = surplusText.length
spannableStringBuilder.setSpan(
titleSpan,
0,

Loading…
Cancel
Save