mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 05:10:25 +08:00
ux: simplify data template for branch name in BranchSelector
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user