Skip to content

Commit e50a277

Browse files
Jack251970Copilot
andauthored
Update code comments
Co-authored-by: Copilot <[email protected]>
1 parent 354b04b commit e50a277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/Helper/WallpaperPathRetrieval.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static Brush GetWallpaperBrush()
7676
// Set DecodePixelWidth and DecodePixelHeight to resize the image while preserving aspect ratio
7777
var bitmap = new BitmapImage();
7878
bitmap.BeginInit();
79-
bitmap.CacheOption = BitmapCacheOption.OnLoad; // Use OnLoaded to ensure the wallpaper file is not locked
79+
bitmap.CacheOption = BitmapCacheOption.OnLoad; // Use OnLoad to ensure the wallpaper file is not locked
8080
bitmap.UriSource = new Uri(wallpaperPath);
8181
bitmap.CreateOptions = BitmapCreateOptions.IgnoreColorProfile;
8282
bitmap.DecodePixelWidth = decodedPixelWidth;

0 commit comments

Comments
 (0)