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 bd7f3d32d..4b6fa86da 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 @@ -115,7 +115,7 @@ class BgTextConfigDialog : BaseDialogFragment(), FileChooserDialog.CallBack { headerView.iv_bg.setImageResource(R.drawable.ic_image) headerView.iv_bg.setColorFilter(primaryTextColor) headerView.onClick { selectImage() } - requireContext().assets.list("bg${File.separator}")?.let { + requireContext().assets.list("bg")?.let { adapter.setItems(it.toList()) } }