|
1 | 1 | using System; |
2 | 2 | using System.ComponentModel.Composition; |
| 3 | +using System.Diagnostics; |
| 4 | +using System.Windows.Input; |
| 5 | +using GitHub.Api; |
| 6 | +using GitHub.Extensions; |
| 7 | +using GitHub.Info; |
| 8 | +using GitHub.Primitives; |
| 9 | +using GitHub.Services; |
| 10 | +using GitHub.Settings; |
3 | 11 | using GitHub.UI; |
4 | 12 | using GitHub.VisualStudio.Base; |
5 | 13 | using GitHub.VisualStudio.Helpers; |
| 14 | +using GitHub.VisualStudio.UI; |
6 | 15 | using GitHub.VisualStudio.UI.Views; |
7 | 16 | using Microsoft.TeamFoundation.Controls; |
8 | | -using GitHub.Services; |
9 | | -using GitHub.Api; |
10 | | -using GitHub.Primitives; |
11 | | -using System.Threading.Tasks; |
12 | | -using System.Diagnostics; |
13 | | -using GitHub.Extensions; |
14 | | -using System.Windows.Input; |
15 | | -using ReactiveUI; |
16 | | -using GitHub.VisualStudio.UI; |
17 | | -using GitHub.Settings; |
18 | | -using System.Windows.Threading; |
19 | | -using GitHub.Info; |
20 | 17 |
|
21 | 18 | namespace GitHub.VisualStudio.TeamExplorer.Home |
22 | 19 | { |
@@ -51,8 +48,7 @@ public GitHubHomeSection(IGitHubServiceProvider serviceProvider, |
51 | 48 | this.settings = settings; |
52 | 49 | this.usageTracker = usageTracker; |
53 | 50 |
|
54 | | - var openOnGitHub = ReactiveCommand.Create(); |
55 | | - openOnGitHub.Subscribe(_ => DoOpenOnGitHub()); |
| 51 | + var openOnGitHub = new RelayCommand(_ => DoOpenOnGitHub()); |
56 | 52 | OpenOnGitHub = openOnGitHub; |
57 | 53 | } |
58 | 54 |
|
|
0 commit comments