mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
Enable the in-memory cache to cache objects.
This commit is contained in:
@@ -35,7 +35,7 @@ object CacheManager {
|
||||
is ByteArray -> ACache.get().put(key, value, saveTime)
|
||||
else -> {
|
||||
val cache = Cache(key, value.toString(), deadline)
|
||||
putMemory(key, value.toString())
|
||||
putMemory(key, value)
|
||||
appDb.cacheDao.insert(cache)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user