From a2f850f94b8ef4e374c803672615034ca3812048 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 21 Nov 2020 18:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/CacheManager.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/CacheManager.kt b/app/src/main/java/io/legado/app/help/CacheManager.kt index 547d3334a..bccbebcf2 100644 --- a/app/src/main/java/io/legado/app/help/CacheManager.kt +++ b/app/src/main/java/io/legado/app/help/CacheManager.kt @@ -41,7 +41,7 @@ object CacheManager { return get(key)?.toFloatOrNull() } - fun getByteArray(key: String) { - ACache.get(App.INSTANCE).getAsBinary(key) + fun getByteArray(key: String): ByteArray? { + return ACache.get(App.INSTANCE).getAsBinary(key) } } \ No newline at end of file