mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
change default image property name
This commit is contained in:
parent
a7310d5d22
commit
b3df2fd590
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ namespace Flow.Launcher.Infrastructure.Image
|
|||
private static readonly ConcurrentDictionary<string, string> GuidToKey = new ConcurrentDictionary<string, string>();
|
||||
private static IImageHashGenerator _hashGenerator;
|
||||
private static bool EnableImageHash = true;
|
||||
public static ImageSource defaultImage { get; } = new BitmapImage(new Uri(Constant.MissingImgIcon));
|
||||
public static ImageSource DefaultImage { get; } = new BitmapImage(new Uri(Constant.MissingImgIcon));
|
||||
|
||||
|
||||
private static readonly string[] ImageExtensions =
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace Flow.Launcher.ViewModel
|
|||
if (result != null)
|
||||
{
|
||||
Result = result;
|
||||
Image = new LazyAsync<ImageSource>(SetImage, ImageLoader.defaultImage, () =>
|
||||
Image = new LazyAsync<ImageSource>(SetImage, ImageLoader.DefaultImage, () =>
|
||||
{
|
||||
OnPropertyChanged(nameof(Image));
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue