From fac568bdba2793df30e908c8e88895fa5cae9a3b Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 26 Oct 2019 18:13:00 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/explore/ExploreShowActivity.kt | 6 +++--- app/src/main/res/values/strings.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/explore/ExploreShowActivity.kt b/app/src/main/java/io/legado/app/ui/explore/ExploreShowActivity.kt index 2cb9c2647..34c30be8c 100644 --- a/app/src/main/java/io/legado/app/ui/explore/ExploreShowActivity.kt +++ b/app/src/main/java/io/legado/app/ui/explore/ExploreShowActivity.kt @@ -66,17 +66,17 @@ class ExploreShowActivity : VMBaseActivity(R.layout.activi if (books.isEmpty() && adapter.isEmpty()) { hasMore = false loadMoreView.rotate_loading.hide(View.INVISIBLE) - loadMoreView.tv_text.text = "空" + loadMoreView.tv_text.setText(R.string.empty) loadMoreView.tv_text.visible() } else if (books.isEmpty()) { hasMore = false loadMoreView.rotate_loading.hide(View.INVISIBLE) - loadMoreView.tv_text.text = "我是有底线的" + loadMoreView.tv_text.setText(R.string.bottom_line) loadMoreView.tv_text.visible() } else if (adapter.getItems().contains(books.first()) && adapter.getItems().contains(books.last())) { hasMore = false loadMoreView.rotate_loading.hide(View.INVISIBLE) - loadMoreView.tv_text.text = "我是有底线的" + loadMoreView.tv_text.setText(R.string.bottom_line) loadMoreView.tv_text.visible() } else { adapter.addItems(books) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e2927270b..a341fb075 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -538,5 +538,6 @@ 文件选择 文件夹选择 + 我是有底线的