Explorar o código

Reduce the number of thumbnails cached in memory

Vishnu Mohandas %!s(int64=4) %!d(string=hai) anos
pai
achega
ff7868d118
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/core/cache/image_cache.dart

+ 1 - 1
lib/core/cache/image_cache.dart

@@ -16,7 +16,7 @@ class FileLruCache {
 }
 
 class ThumbnailFileLruCache {
-  static LRUMap<String, io.File> _map = LRUMap(500);
+  static LRUMap<String, io.File> _map = LRUMap(100);
 
   static io.File get(File file) {
     return _map.get(file.tag());