up importSource

pull/849/head
gedoor 4 years ago
parent e6a9387600
commit dd25fa9b4b
  1. 1
      app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt
  2. 1
      app/src/main/java/io/legado/app/ui/association/ImportRssSourceDialog.kt
  3. 1
      app/src/main/res/layout/dialog_recycler_view.xml

@ -75,6 +75,7 @@ class ImportBookSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickList
} }
} }
upSelectText() upSelectText()
binding.tvFooterLeft.visible()
binding.tvFooterLeft.setOnClickListener { binding.tvFooterLeft.setOnClickListener {
val selectAll = viewModel.isSelectAll() val selectAll = viewModel.isSelectAll()
viewModel.selectStatus.forEachIndexed { index, b -> viewModel.selectStatus.forEachIndexed { index, b ->

@ -73,6 +73,7 @@ class ImportRssSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListe
} }
} }
upSelectText() upSelectText()
binding.tvFooterLeft.visible()
binding.tvFooterLeft.setOnClickListener { binding.tvFooterLeft.setOnClickListener {
val selectAll = viewModel.isSelectAll() val selectAll = viewModel.isSelectAll()
viewModel.selectStatus.forEachIndexed { index, b -> viewModel.selectStatus.forEachIndexed { index, b ->

@ -37,6 +37,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="16dp" android:layout_marginLeft="16dp"
android:padding="12dp" android:padding="12dp"
android:visibility="gone"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<Space <Space

Loading…
Cancel
Save