ux: add an empty icon if there are no git command logs available

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-21 18:48:01 +08:00
parent 06d033464d
commit 9c53894cb4
No known key found for this signature in database

View file

@ -96,6 +96,13 @@
</ListBox.ItemTemplate>
</ListBox>
<Path Grid.Column="0"
HorizontalAlignment="Center" VerticalAlignment="Center"
Width="48" Height="48"
Data="{StaticResource Icons.Empty}"
Fill="{DynamicResource Brush.FG2}"
IsVisible="{Binding Logs.Count, Converter={x:Static c:IntConverters.IsZero}}"/>
<Border Grid.Column="2"
BorderBrush="{DynamicResource Brush.Border2}"
BorderThickness="1"