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