mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge branch 'feature/web_search_private_mode' of https://github.com/zoltanvi/Flow.Launcher into feature/web_search_private_mode
This commit is contained in:
commit
db84dff4e6
1 changed files with 6 additions and 1 deletions
|
|
@ -37,12 +37,17 @@ namespace Flow.Launcher.ViewModel
|
||||||
OnPropertyChanged(nameof(Image));
|
OnPropertyChanged(nameof(Image));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private bool _imageLoaded = false;
|
||||||
|
|
||||||
public ImageSource Image
|
public ImageSource Image
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (_image == ImageLoader.MissingImage)
|
if (!_imageLoaded)
|
||||||
|
{
|
||||||
|
_imageLoaded = true;
|
||||||
_ = LoadIconAsync();
|
_ = LoadIconAsync();
|
||||||
|
}
|
||||||
|
|
||||||
return _image;
|
return _image;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue