update strings.xml

pull/363/head
gedoor 4 years ago
parent 3fdabbc137
commit 40f5205802
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt

@ -235,7 +235,7 @@ class BgTextConfigDialog : BaseDialogFragment(), FileChooserDialog.CallBack {
val bgName = FileUtils.getName(ReadBookConfig.durConfig.bgStr()) val bgName = FileUtils.getName(ReadBookConfig.durConfig.bgStr())
val bgFile = File(ReadBookConfig.durConfig.bgStr()) val bgFile = File(ReadBookConfig.durConfig.bgStr())
if (bgFile.exists()) { if (bgFile.exists()) {
val bgExportFile = FileUtils.createFileIfNotExist(configDir, bgName) val bgExportFile = File(FileUtils.getPath(configDir, bgName))
bgFile.copyTo(bgExportFile) bgFile.copyTo(bgExportFile)
exportFiles.add(bgExportFile) exportFiles.add(bgExportFile)
} }

Loading…
Cancel
Save