mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Return default image when loading UWP icon fail
This commit is contained in:
parent
fc015245b3
commit
6703e0d137
1 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ namespace Flow.Launcher.ViewModel
|
||||||
{
|
{
|
||||||
OnPropertyChanged(nameof(Image));
|
OnPropertyChanged(nameof(Image));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings = settings;
|
Settings = settings;
|
||||||
}
|
}
|
||||||
|
|
@ -101,7 +101,7 @@ namespace Flow.Launcher.ViewModel
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Log.Exception($"|ResultViewModel.Image|IcoPath is empty and exception when calling Icon() for result <{Result.Title}> of plugin <{Result.PluginDirectory}>", e);
|
Log.Exception($"|ResultViewModel.Image|IcoPath is empty and exception when calling Icon() for result <{Result.Title}> of plugin <{Result.PluginDirectory}>", e);
|
||||||
imagePath = Constant.MissingImgIcon;
|
return ImageLoader.DefaultImage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue