Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Flow.Launcher/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
<TextBlock
x:Name="PreviewSubTitle"
Style="{DynamicResource PreviewItemSubTitleStyle}"
Text="{Binding Result.SubTitle}" />
Text="{Binding DefaultPreviewCustomDescription}" />
</StackPanel>
</Grid>
</Border>
Expand Down
2 changes: 2 additions & 0 deletions Flow.Launcher/ViewModel/ResultViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ public void LoadPreviewImage()
}
}

public string DefaultPreviewCustomDescription => Result.Preview?.Description ?? Result.SubTitle;
Comment thread
Jack251970 marked this conversation as resolved.
Outdated

public Result Result { get; }
public int ResultProgress
{
Expand Down
Loading