We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaae3b9 commit 07c1a0bCopy full SHA for 07c1a0b
Flow.Launcher.Infrastructure/Image/ImageCache.cs
@@ -28,7 +28,7 @@ public class ImageCache
28
private const int permissibleFactor = 2;
29
private SemaphoreSlim semaphore = new(1, 1);
30
31
- public void Initialization(Dictionary<(string, bool), int> usage)
+ public void Initialize(Dictionary<(string, bool), int> usage)
32
{
33
foreach (var key in usage.Keys)
34
Flow.Launcher.Infrastructure/Image/ImageLoader.cs
@@ -40,6 +40,8 @@ public static void Initialize()
40
41
var usage = LoadStorageToConcurrentDictionary();
42
43
+ ImageCache.Initialize(usage.ToDictionary(x => x.Key, x => x.Value));
44
+
45
foreach (var icon in new[]
46
47
Constant.DefaultIcon, Constant.MissingImgIcon
0 commit comments