This commit is contained in:
Vic 2022-11-26 14:33:42 +08:00
parent c622edab99
commit 24e526b03d
2 changed files with 3 additions and 3 deletions

View file

@ -429,7 +429,7 @@
</Grid>
</Border>
<ContentControl Content="{Binding Result.PreviewPanel.Value}"
Visibility="{Binding ShowCustomizedPrewview}" />
Visibility="{Binding ShowCustomizedPreview}" />
</Grid>
</Grid>
</StackPanel>

View file

@ -32,8 +32,8 @@ namespace Flow.Launcher.ViewModel
if (PreviewExtension != null)
{
PreviewExtension = PreviewExtension.ToLowerInvariant();
}
else if ()
if (Result.Glyph is { FontFamily: not null } glyph)
{
@ -79,7 +79,7 @@ namespace Flow.Launcher.ViewModel
public Visibility ShowDefaultPreview => Result.PreviewPanel == null ? Visibility.Visible : Visibility.Collapsed;
public Visibility ShowCustomizedPrewview => Result.PreviewPanel == null ? Visibility.Collapsed : Visibility.Visible;
public Visibility ShowCustomizedPreview => Result.PreviewPanel == null ? Visibility.Collapsed : Visibility.Visible;
public Visibility ShowIcon
{