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 9a597f2 commit bbc12ecCopy full SHA for bbc12ec
Flow.Launcher/Helper/WallpaperPathRetrieval.cs
@@ -15,9 +15,8 @@ public static class WallpaperPathRetrieval
15
{
16
private static readonly string ClassName = nameof(WallpaperPathRetrieval);
17
18
- // Disable cache feature because some wallpaper applications (like Wallpaper Engine) may change wallpaper frequently
19
- private const int MaxCacheSize = 0;//3;
20
- private static readonly Dictionary<(string, DateTime), ImageBrush> WallpaperCache = [];
+ private const int MaxCacheSize = 3;
+ private static readonly Dictionary<(string, DateTime), ImageBrush> WallpaperCache = new();
21
private static readonly Lock CacheLock = new();
22
23
public static Brush GetWallpaperBrush()
0 commit comments