This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/GitHub.TeamFoundation.14/Services Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ public class TeamExplorerServices : ITeamExplorerServices
1919 {
2020 readonly IGitHubServiceProvider serviceProvider ;
2121
22+ readonly static Guid repositorySettingsPageId = new Guid ( "96903923-97e0-474a-9346-31a3ba28e6ff" ) ;
23+ readonly static Guid remotesSectionId = new Guid ( "2e31f317-7144-4316-8aae-a796e4be1fd4" ) ;
24+
2225 /// <summary>
2326 /// This MEF export requires specific versions of TeamFoundation. ITeamExplorerNotificationManager is declared here so
2427 /// that instances of this type cannot be created if the TeamFoundation dlls are not available
@@ -66,8 +69,8 @@ public void ShowPublishSection()
6669 public async Task ShowRepositorySettingsRemotesAsync ( )
6770 {
6871 var te = serviceProvider . TryGetService < ITeamExplorer > ( ) ;
69- var page = await NavigateToPageAsync ( te , new Guid ( "96903923-97e0-474a-9346-31a3ba28e6ff" ) ) ;
70- var remotes = page ? . GetSection ( new Guid ( "2e31f317-7144-4316-8aae-a796e4be1fd4" ) ) ;
72+ var page = await NavigateToPageAsync ( te , repositorySettingsPageId ) ;
73+ var remotes = page ? . GetSection ( remotesSectionId ) ;
7174 BringIntoView ( remotes ) ;
7275 }
7376
You can’t perform that action at this time.
0 commit comments