We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2476e2d commit 33c0af1Copy full SHA for 33c0af1
Flow.Launcher/ViewModel/ResultViewModel.cs
@@ -90,14 +90,6 @@ public Visibility ShowIcon
90
}
91
92
93
- public bool UsePreviewImage
94
- {
95
- //todo binding
96
- get => !ImgIconAvailable && !GlyphAvailable ||
97
- Settings.UseGlyphIcons && !GlyphAvailable && ImgIconAvailable ||
98
- !Settings.UseGlyphIcons && ImgIconAvailable;
99
- }
100
-
101
public double IconRadius
102
{
103
get
@@ -224,7 +216,7 @@ private async Task LoadPreviewImageAsync()
224
216
225
217
public void LoadPreviewImage()
226
218
227
- if (!PreviewImageLoaded && UsePreviewImage)
219
+ if (!PreviewImageLoaded && ShowIcon == Visibility.Visible)
228
220
229
221
PreviewImageLoaded = true;
230
222
_ = LoadPreviewImageAsync();
0 commit comments