Horis 2 年之前
父節點
當前提交
252d4ee22b
共有 1 個文件被更改,包括 1 次插入 和 6 次删除
  1. 1 6
      app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt

+ 1 - 6
app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt

@@ -312,12 +312,7 @@ class PageView(context: Context) : FrameLayout(context) {
                 text = textPage.title
                 text = textPage.title
             }
             }
         }
         }
-        tvPage?.apply {
-            val page = "${index.plus(1)}/$pageSize"
-            if (text != page) {
-                text = page
-            }
-        }
+        tvPage?.text = "${index.plus(1)}/$pageSize"
         val readProgress = readProgress
         val readProgress = readProgress
         tvTotalProgress?.apply {
         tvTotalProgress?.apply {
             if (text != readProgress) {
             if (text != readProgress) {