From adaace696bd53fbb0328828fc0d2155df7a105c9 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 21 May 2022 13:08:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/remote/RemoteBookActivity.kt | 2 +- app/src/main/res/layout/activity_remote_book.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/remote/RemoteBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/remote/RemoteBookActivity.kt index 83390113f..0aa43b0fb 100644 --- a/app/src/main/java/io/legado/app/ui/book/remote/RemoteBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/remote/RemoteBookActivity.kt @@ -41,7 +41,7 @@ class RemoteBookActivity : VMBaseActivity binding.refreshProgressBar.isAutoLoading = false - binding.tvEmptyMsg.isGone = remoteBooks.isEmpty() + binding.tvEmptyMsg.isGone = remoteBooks.isNotEmpty() adapter.setItems(remoteBooks) } } diff --git a/app/src/main/res/layout/activity_remote_book.xml b/app/src/main/res/layout/activity_remote_book.xml index 221917045..fbbdefb98 100644 --- a/app/src/main/res/layout/activity_remote_book.xml +++ b/app/src/main/res/layout/activity_remote_book.xml @@ -46,7 +46,7 @@ android:layout_height="wrap_content" android:layout_margin="16dp" android:gravity="center" - android:visibility="visible" + android:visibility="gone" android:text="webDav book文件夹为空" app:layout_constraintTop_toBottomOf="@+id/title_bar" app:layout_constraintBottom_toBottomOf="parent"