Freeze logo

This commit is contained in:
Vic 2022-10-28 16:50:08 +08:00
parent efece39c1e
commit 6e19b49f91

View file

@ -691,9 +691,10 @@ namespace Flow.Launcher.Plugin.Program.Programs
{
var image = new BitmapImage();
image.BeginInit();
image.UriSource = new Uri(path);
image.UriSource = new Uri(path);
image.CacheOption = BitmapCacheOption.OnLoad;
image.EndInit();
image.Freeze();
return image;
}
else