pull/2661/head
kunfei 2 years ago
parent 660d6e213d
commit 4ad7949387
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt

@ -65,7 +65,7 @@ object ImageProvider {
} }
fun getNotRecycled(key: String): Bitmap? { private fun getNotRecycled(key: String): Bitmap? {
val bitmap = bitmapLruCache.get(key) ?: return null val bitmap = bitmapLruCache.get(key) ?: return null
if (bitmap.isRecycled) { if (bitmap.isRecycled) {
bitmapLruCache.remove(key) bitmapLruCache.remove(key)

Loading…
Cancel
Save