change default image property name

This commit is contained in:
弘韬 张 2020-11-16 12:58:53 +08:00
parent a7310d5d22
commit b3df2fd590
2 changed files with 2 additions and 2 deletions

View file

@ -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 =

View file

@ -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));
});