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