pull/32/head
kunfei 5 years ago
parent 6a85aad684
commit 6b1690b4ea
  1. 2
      app/src/main/java/io/legado/app/help/BookHelp.kt

@ -27,9 +27,7 @@ object BookHelp {
//获取流并存储 //获取流并存储
try { try {
BufferedWriter(FileWriter(file)).use { writer -> BufferedWriter(FileWriter(file)).use { writer ->
writer.write(bookChapter.title + "\n\n")
writer.write(content) writer.write(content)
writer.write("\n\n")
writer.flush() writer.flush()
} }
} catch (e: IOException) { } catch (e: IOException) {

Loading…
Cancel
Save