Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Views/RepositoryToolbar.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
</StackPanel>

<StackPanel Grid.Column="2" Orientation="Horizontal">
<Button Width="0" Height="0" Click="PushDirectlyByHotKey" IsVisible="False" HotKey="{OnPlatform Ctrl+Shift+Up, macOS=⌘+Shift+Up}"/>
<Button Width="0" Height="0" Click="PushByHotKey" IsVisible="False" HotKey="{OnPlatform Ctrl+Shift+Up, macOS=⌘+Shift+Up}"/>
<Button Width="0" Height="0" Click="PullDirectlyByHotKey" IsVisible="False" IsEnabled="{Binding !IsBare}" HotKey="{OnPlatform Ctrl+Shift+Down, macOS=⌘+Shift+Down}"/>
<Button Width="0" Height="0" Click="FetchDirectlyByHotKey" IsVisible="False" HotKey="{OnPlatform Ctrl+Down, macOS=⌘+Down}"/>
</StackPanel>
Expand Down
4 changes: 2 additions & 2 deletions src/Views/RepositoryToolbar.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ private async void Push(object sender, TappedEventArgs e)
}
}

private async void PushDirectlyByHotKey(object sender, RoutedEventArgs e)
private async void PushByHotKey(object sender, RoutedEventArgs e)
{
if (DataContext is ViewModels.Repository repo)
{
await repo.PushAsync(true);
await repo.PushAsync(false);
e.Handled = true;
}
}
Expand Down