From deae4a8770eeb842d61eb6ced0eac7acd17261c6 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 15 Sep 2019 19:57:36 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/help/BookHelp.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/help/BookHelp.kt b/app/src/main/java/io/legado/app/help/BookHelp.kt index dd68c455b..6567dbb5b 100644 --- a/app/src/main/java/io/legado/app/help/BookHelp.kt +++ b/app/src/main/java/io/legado/app/help/BookHelp.kt @@ -48,7 +48,7 @@ object BookHelp { runCatching { val file = File(filePath) if (file.exists()) { - return String(file.readBytes()) + return file.readText() } } return null