From f81474b0697c33cb61269acd78229517449c7434 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 8 Mar 2020 20:52:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/page/ContentView.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt index 96a2ce454..532dd5549 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt @@ -98,7 +98,7 @@ class ContentView(context: Context) : FrameLayout(context) { fun upTime() { if (ReadBookConfig.hideStatusBar) { - tv_bottom_left.text = timeFormat.format(Date(System.currentTimeMillis())) + tv_bottom_right.text = timeFormat.format(Date(System.currentTimeMillis())) } } @@ -126,13 +126,13 @@ class ContentView(context: Context) : FrameLayout(context) { 2 -> ZhConvertBootstrap.newInstance().toTraditional(textPage.title) else -> textPage.title } - val progress = "${index.plus(1)}/$pageSize $readProgress" if (ReadBookConfig.hideStatusBar) { tv_top_left.text = title - tv_top_right.text = progress + tv_top_right.text = readProgress + tv_bottom_left.text = "${index.plus(1)}/$pageSize" } else { tv_bottom_left.text = title - tv_bottom_right.text = progress + tv_bottom_right.text = "${index.plus(1)}/$pageSize $readProgress" } }