diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt index 6232c7b18..98252c6d3 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt @@ -105,7 +105,7 @@ class BgTextConfigDialog : BaseDialogFragment() { headerView.tv_name.setTextColor(secondaryTextColor) headerView.tv_name.text = getString(R.string.select_image) headerView.iv_bg.setImageResource(R.drawable.ic_image) - headerView.iv_bg.setColorFilter(getCompatColor(R.color.primaryText)) + headerView.iv_bg.setColorFilter(primaryTextColor) headerView.onClick { selectImage() } requireContext().assets.list("bg/")?.let { adapter.setItems(it.toList()) @@ -144,6 +144,12 @@ class BgTextConfigDialog : BaseDialogFragment() { ReadBookConfig.resetDur() postEvent(EventBus.UP_CONFIG, false) } + tv_import.onClick { + + } + tv_export.onClick { + + } } private fun selectImage() { diff --git a/app/src/main/res/layout/dialog_read_bg_text.xml b/app/src/main/res/layout/dialog_read_bg_text.xml index 3064f484e..3acffcdca 100644 --- a/app/src/main/res/layout/dialog_read_bg_text.xml +++ b/app/src/main/res/layout/dialog_read_bg_text.xml @@ -1,12 +1,12 @@ +