From dd25fa9b4b4b3dd495b95fe55e5f26b40ad8df96 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 9 Feb 2021 23:12:04 +0800 Subject: [PATCH] up importSource --- .../java/io/legado/app/ui/association/ImportBookSourceDialog.kt | 1 + .../java/io/legado/app/ui/association/ImportRssSourceDialog.kt | 1 + app/src/main/res/layout/dialog_recycler_view.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt b/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt index 7b7f7310a..4f29e1c3b 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt @@ -75,6 +75,7 @@ class ImportBookSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickList } } upSelectText() + binding.tvFooterLeft.visible() binding.tvFooterLeft.setOnClickListener { val selectAll = viewModel.isSelectAll() viewModel.selectStatus.forEachIndexed { index, b -> diff --git a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt index d3d443640..23fd39b39 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt @@ -73,6 +73,7 @@ class ImportRssSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListe } } upSelectText() + binding.tvFooterLeft.visible() binding.tvFooterLeft.setOnClickListener { val selectAll = viewModel.isSelectAll() viewModel.selectStatus.forEachIndexed { index, b -> diff --git a/app/src/main/res/layout/dialog_recycler_view.xml b/app/src/main/res/layout/dialog_recycler_view.xml index fbe2e35a9..1f75ffaa0 100644 --- a/app/src/main/res/layout/dialog_recycler_view.xml +++ b/app/src/main/res/layout/dialog_recycler_view.xml @@ -37,6 +37,7 @@ android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:padding="12dp" + android:visibility="gone" tools:ignore="RtlHardcoded" />