use updated method from ImageCache class to save images to cache

This commit is contained in:
Jeremy Wu 2020-08-05 19:58:48 +10:00
parent 86f6f9921e
commit ffa68a5a7b

View file

@ -61,7 +61,8 @@ namespace Flow.Launcher.Infrastructure.Image
{
lock (_storage)
{
_storage.Save(_imageCache.CleanupAndToDictionary());
ImageCache.Cleanup();
_storage.Save(ImageCache.Usage);
}
}