Skip to content

Commit db84dff

Browse files
committed
Merge branch 'feature/web_search_private_mode' of https://github.com/zoltanvi/Flow.Launcher into feature/web_search_private_mode
2 parents 361c2a4 + b612729 commit db84dff

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Flow.Launcher/ViewModel/PluginViewModel.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,17 @@ private async Task LoadIconAsync()
3737
OnPropertyChanged(nameof(Image));
3838
}
3939

40+
private bool _imageLoaded = false;
41+
4042
public ImageSource Image
4143
{
4244
get
4345
{
44-
if (_image == ImageLoader.MissingImage)
46+
if (!_imageLoaded)
47+
{
48+
_imageLoaded = true;
4549
_ = LoadIconAsync();
50+
}
4651

4752
return _image;
4853
}

0 commit comments

Comments
 (0)