Fix: Result.Preview.Description is not ignored anymore

This commit is contained in:
Heck-R 2025-12-17 23:37:43 +01:00
parent 12ab11a4e4
commit e01869afda
2 changed files with 3 additions and 1 deletions

View file

@ -526,7 +526,7 @@
<TextBlock
x:Name="PreviewSubTitle"
Style="{DynamicResource PreviewItemSubTitleStyle}"
Text="{Binding Result.SubTitle}" />
Text="{Binding DefaultPreviewCustomDescription}" />
</StackPanel>
</Grid>
</Border>

View file

@ -288,6 +288,8 @@ namespace Flow.Launcher.ViewModel
}
}
public string DefaultPreviewCustomDescription => Result.Preview?.Description ?? Result.SubTitle;
public Result Result { get; }
public int ResultProgress
{