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 @@ 文件选择 文件夹选择 + 我是有底线的