From bcd7722672231506d0ce2d9e54b82b9b9cc3b38a Mon Sep 17 00:00:00 2001 From: TTLC198 <41226242+TTLC198@users.noreply.github.com> Date: Mon, 4 Dec 2023 18:11:05 +0300 Subject: [PATCH] Fixed an error in opening a project link --- HSMonitor/Views/Settings/UpdateSettingsTabView.xaml.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/HSMonitor/Views/Settings/UpdateSettingsTabView.xaml.cs b/HSMonitor/Views/Settings/UpdateSettingsTabView.xaml.cs index 2074e29..ccda8f6 100644 --- a/HSMonitor/Views/Settings/UpdateSettingsTabView.xaml.cs +++ b/HSMonitor/Views/Settings/UpdateSettingsTabView.xaml.cs @@ -14,9 +14,6 @@ public UpdateSettingsTabView() private void GithubLinkPageOpen(object sender, MouseButtonEventArgs e) { - if (sender is Grid {Name: "GithubClientUrlGrid"}) - OpenUrl.Open(App.GitHubClientProjectUrl); - if (sender is Grid {Name: "GithubUrlGrid"}) - OpenUrl.Open(App.GitHubProjectUrl); + OpenUrl.Open(App.GitHubProjectUrl); } } \ No newline at end of file