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

Commit a4eb753

Browse files
committed
Remove redundant OnEditRemotesAsync
1 parent d352010 commit a4eb753

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/GitHub.App/ViewModels/GitHubPane/NoRemoteOriginViewModel.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ public class NoRemoteOriginViewModel : PanePageViewModelBase, INoRemoteOriginVie
2020
public NoRemoteOriginViewModel(ITeamExplorerServices teamExplorerServices)
2121
{
2222
this.teamExplorerServices = teamExplorerServices;
23-
EditRemotes = ReactiveCommand.CreateFromTask(OnEditRemotesAsync);
23+
EditRemotes = ReactiveCommand.CreateFromTask(teamExplorerServices.ShowRepositorySettingsRemotesAsync);
2424
}
2525

26-
Task OnEditRemotesAsync() => teamExplorerServices.ShowRepositorySettingsRemotesAsync();
27-
2826
public ReactiveCommand<Unit, Unit> EditRemotes { get; }
2927
}
3028
}

0 commit comments

Comments
 (0)