diff --git a/Flow.Launcher/ViewModel/ResultViewModel.cs b/Flow.Launcher/ViewModel/ResultViewModel.cs index aef336b1f..276fe8500 100644 --- a/Flow.Launcher/ViewModel/ResultViewModel.cs +++ b/Flow.Launcher/ViewModel/ResultViewModel.cs @@ -90,14 +90,6 @@ namespace Flow.Launcher.ViewModel } } - public bool UsePreviewImage - { - //todo binding - get => !ImgIconAvailable && !GlyphAvailable || - Settings.UseGlyphIcons && !GlyphAvailable && ImgIconAvailable || - !Settings.UseGlyphIcons && ImgIconAvailable; - } - public double IconRadius { get @@ -224,7 +216,7 @@ namespace Flow.Launcher.ViewModel public void LoadPreviewImage() { - if (!PreviewImageLoaded && UsePreviewImage) + if (!PreviewImageLoaded && ShowIcon == Visibility.Visible) { PreviewImageLoaded = true; _ = LoadPreviewImageAsync();