Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 3f92965

Browse files
authored
Merge pull request #895 from github/fixes/893-publish-checkbox
Close checkbox tag properly
2 parents 1cfd3d7 + 79013e0 commit 3f92965

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/GitHub.VisualStudio/UI/Views/Controls/RepositoryPublishControl.xaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -135,24 +135,24 @@
135135
IsChecked="{Binding KeepPrivate}"
136136
IsEnabled="{Binding CanKeepPrivate}"
137137
Style="{StaticResource VSStyledCheckBox}"
138-
AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.TeamExplorerPrivateRepositoryCheckBox}" />
139-
<TextBlock Background="{DynamicResource GitHubVsToolWindowBackground}"
138+
AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.TeamExplorerPrivateRepositoryCheckBox}" >
139+
<TextBlock Background="{DynamicResource GitHubVsToolWindowBackground}"
140140
Foreground="{DynamicResource GitHubVsToolWindowText}"
141141
TextWrapping="Wrap">
142-
<TextBlock.Resources>
143-
<Style TargetType="{x:Type TextBlock}">
144-
<Style.Triggers>
145-
<Trigger Property="IsEnabled" Value="False">
146-
<Setter Property="Opacity" Value="0.5" />
147-
</Trigger>
148-
</Style.Triggers>
149-
</Style>
150-
</TextBlock.Resources>
151-
<TextBlock.Inlines>
152-
<Run Text="{x:Static prop:Resources.makePrivateContent}" />
153-
</TextBlock.Inlines>
154-
</TextBlock>
155-
142+
<TextBlock.Resources>
143+
<Style TargetType="{x:Type TextBlock}">
144+
<Style.Triggers>
145+
<Trigger Property="IsEnabled" Value="False">
146+
<Setter Property="Opacity" Value="0.5" />
147+
</Trigger>
148+
</Style.Triggers>
149+
</Style>
150+
</TextBlock.Resources>
151+
<TextBlock.Inlines>
152+
<Run Text="{x:Static prop:Resources.makePrivateContent}" />
153+
</TextBlock.Inlines>
154+
</TextBlock>
155+
</CheckBox>
156156

157157
<Button x:Name="publishRepositoryButton"
158158
Margin="0,8,0,0"

0 commit comments

Comments
 (0)