ux: simplify data template for branch name in BranchSelector

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2026-03-31 14:30:02 +08:00
parent 58e3130a40
commit bc6d837c5c

View File

@@ -38,9 +38,7 @@
Content="{TemplateBinding SelectedBranch, Mode=OneWay}">
<ContentControl.DataTemplates>
<DataTemplate DataType="m:Branch">
<Grid>
<TextBlock Text="{Binding FriendlyName, Mode=OneWay}"/>
</Grid>
<TextBlock Text="{Binding FriendlyName, Mode=OneWay}" VerticalAlignment="Center"/>
</DataTemplate>
</ContentControl.DataTemplates>
</ContentControl>