mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Load full image from cache
This commit is contained in:
parent
a53b961406
commit
a76304ac51
1 changed files with 4 additions and 1 deletions
|
|
@ -114,7 +114,10 @@ namespace Flow.Launcher.Infrastructure.Image
|
|||
{
|
||||
return new ImageResult(ImageCache[path], ImageType.Cache);
|
||||
}
|
||||
|
||||
if (loadFullImage && ImageCache.ContainsKey(path + ImageType.FullImageFile))
|
||||
{
|
||||
return new ImageResult(ImageCache[path + ImageType.FullImageFile], ImageType.Cache);
|
||||
}
|
||||
if (path.StartsWith("data:", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
var imageSource = new BitmapImage(new Uri(path));
|
||||
|
|
|
|||
Loading…
Reference in a new issue