This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
src/GitHub.VisualStudio.UI/Views Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 99using GitHub . ViewModels ;
1010using GitHub . ViewModels . Documents ;
1111using GitHub . VisualStudio . UI . Helpers ;
12- using Microsoft . VisualStudio . Shell ;
1312
1413namespace GitHub . VisualStudio . Views . Documents
1514{
@@ -28,8 +27,7 @@ public IssueishCommentView()
2827
2928 static IVisualStudioBrowser GetBrowser ( )
3029 {
31- var serviceProvider = ( IGitHubServiceProvider ) Package . GetGlobalService ( typeof ( IGitHubServiceProvider ) ) ;
32- return serviceProvider . GetService < IVisualStudioBrowser > ( ) ;
30+ return Services . GitHubServiceProvider . GetService < IVisualStudioBrowser > ( ) ;
3331 }
3432
3533 void DoOpenOnGitHub ( )
Original file line number Diff line number Diff line change 66using GitHub . UI ;
77using GitHub . ViewModels ;
88using GitHub . VisualStudio . UI . Helpers ;
9- using Microsoft . VisualStudio . Shell ;
109using ReactiveUI ;
1110
1211namespace GitHub . VisualStudio . Views
@@ -31,8 +30,7 @@ public PullRequestReviewCommentView()
3130
3231 static IVisualStudioBrowser GetBrowser ( )
3332 {
34- var serviceProvider = ( IGitHubServiceProvider ) Package . GetGlobalService ( typeof ( IGitHubServiceProvider ) ) ;
35- return serviceProvider . GetService < IVisualStudioBrowser > ( ) ;
33+ return Services . GitHubServiceProvider . GetService < IVisualStudioBrowser > ( ) ;
3634 }
3735
3836 void DoOpenOnGitHub ( )
You can’t perform that action at this time.
0 commit comments