diff --git a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs index 5a6e483cd..cae4c3075 100644 --- a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs +++ b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs @@ -224,6 +224,7 @@ namespace Flow.Launcher.Infrastructure.Image else if (extension == ".svg") { var source = SvgSource.Load(path, null); + // very annoying, but we need to create the instance on the UI Thread. It is not an expensive operation though image = Dispatcher.UIThread.Invoke(() => new SvgImage() { Source = source }); type = ImageType.FullImageFile; } diff --git a/Flow.Launcher/App.axaml b/Flow.Launcher/App.axaml index 7733ecd15..1d9cc72b7 100644 --- a/Flow.Launcher/App.axaml +++ b/Flow.Launcher/App.axaml @@ -5,7 +5,7 @@ - avares://Flow.Launcher/Resources/#Segoe Fluent Icons + avares://Flow.Launcher/Resources/#Segoe Fluent Icons diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml index 505b7c2a3..0104e2de3 100644 --- a/Flow.Launcher/Resources/CustomControlTemplate.xaml +++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml @@ -48,7 +48,7 @@ - +