feat: 优化代码

pull/134/head^2
kunfei 5 years ago
parent e1a2f059c3
commit a235f4c641
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/page/ChapterProvider.kt

@ -294,7 +294,5 @@ object ChapterProvider {
}
val TextPaint.textHeight: Float
get() {
return this.fontMetrics.descent - fontMetrics.ascent + fontMetrics.leading
}
get() = this.fontMetrics.descent - fontMetrics.ascent + fontMetrics.leading
}
Loading…
Cancel
Save