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

Commit 4cbe256

Browse files
committed
Clean up
1 parent 2fd2f9a commit 4cbe256

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@
155155
<Rectangle Grid.Column="1" Margin="5" Width="1" Height="12" VerticalAlignment="Top" Style="{DynamicResource Separator}" />
156156

157157
<!-- Checkout pull request button -->
158-
<!--
159158
<ui:GitHubActionLink Command="{Binding Checkout}"
160159
Content="{Binding CheckoutState.Caption}"
161160
Grid.Column="2"
@@ -164,14 +163,10 @@
164163
Visibility="{Binding CheckoutState, Converter={ui:NullToVisibilityConverter}}"
165164
ToolTip="{Binding CheckoutState.ToolTip}"
166165
ToolTipService.ShowOnDisabled="True"/>
167-
-->
168166

169167
<!-- Pull/push buttons -->
170-
<StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center">
171-
<!--
172168
<StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center"
173169
Visibility="{Binding UpdateState.UpToDate, FallbackValue=Collapsed, Converter={ui:BooleanToInverseVisibilityConverter}}">
174-
-->
175170
<ui:OcticonImage Icon="arrow_down"/>
176171
<TextBlock Text="{Binding UpdateState.CommitsBehind}" VerticalAlignment="Center"/>
177172
<ui:GitHubActionLink Content="Pull"
@@ -181,10 +176,7 @@
181176
ToolTipService.ShowOnDisabled="True"
182177
VerticalAlignment="Center"/>
183178
<ui:OcticonImage Icon="arrow_up"/>
184-
<TextBlock Text="5" VerticalAlignment="Center"/>
185-
<!--
186179
<TextBlock Text="{Binding UpdateState.CommitsAhead}" VerticalAlignment="Center"/>
187-
-->
188180
<ui:GitHubActionLink Content="Push"
189181
Command="{Binding Push}"
190182
Margin="4,0"
@@ -193,25 +185,11 @@
193185
VerticalAlignment="Center"/>
194186
<!-- Sync submodules -->
195187
<ui:OcticonImage Icon="package"/>
196-
<TextBlock Text="4" Margin="4 0 0 0" VerticalAlignment="Center"/>
197-
<!--
198-
<TextBlock Text="{Binding UpdateState.SubmodulesToSync}" VerticalAlignment="Center"/>
199-
-->
200-
<ui:GitHubActionLink Content="Sync"
201-
Command="{Binding SyncSubmodules}"
202-
Margin="4 0" />
203-
<!--
204-
<ui:GitHubActionLink Content="Sync"
205-
Command="{Binding SyncSubmodules}"
206-
Margin="4 0"
207-
Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ui:BooleanToVisibilityConverter}}" />
208-
-->
209-
<!--
188+
<TextBlock Margin="4 0 0 0" Text="{Binding UpdateState.SubmodulesToSync}" VerticalAlignment="Center"/>
210189
<ui:GitHubActionLink Content="Sync"
211190
Command="{Binding SyncSubmodules}"
212191
Margin="4 0"
213192
Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ui:BooleanToVisibilityConverter}}" />
214-
-->
215193
</StackPanel>
216194

217195
<!-- Branch checked out and up-to-date -->

0 commit comments

Comments
 (0)