Skip to content

Commit b3df2fd

Browse files
committed
change default image property name
1 parent a7310d5 commit b3df2fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/Image/ImageLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static class ImageLoader
1818
private static readonly ConcurrentDictionary<string, string> GuidToKey = new ConcurrentDictionary<string, string>();
1919
private static IImageHashGenerator _hashGenerator;
2020
private static bool EnableImageHash = true;
21-
public static ImageSource defaultImage { get; } = new BitmapImage(new Uri(Constant.MissingImgIcon));
21+
public static ImageSource DefaultImage { get; } = new BitmapImage(new Uri(Constant.MissingImgIcon));
2222

2323

2424
private static readonly string[] ImageExtensions =

Flow.Launcher/ViewModel/ResultViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public ResultViewModel(Result result, Settings settings)
5555
if (result != null)
5656
{
5757
Result = result;
58-
Image = new LazyAsync<ImageSource>(SetImage, ImageLoader.defaultImage, () =>
58+
Image = new LazyAsync<ImageSource>(SetImage, ImageLoader.DefaultImage, () =>
5959
{
6060
OnPropertyChanged(nameof(Image));
6161
});

0 commit comments

Comments
 (0)