Skip to content

Commit

Permalink
🎨 Improve formatting of method definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter committed Aug 29, 2024
1 parent eac8597 commit 73e63b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/FluentHub.App/UserControls/GitCloneFlyout.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ private async void OpenVSButton_Click(object sender, RoutedEventArgs e)
Log.Error(openStudioUrl, "Something went wrong. Visual Studio is not installed or there was another unspecified error.");
}
}

private async void OpenVSCodeButton_Click(object sender, RoutedEventArgs e)
{
string encodedUrl = Uri.EscapeDataString(_repoGitUrl);
Expand All @@ -118,6 +119,7 @@ private async void OpenVSCodeButton_Click(object sender, RoutedEventArgs e)
Log.Error(openCodeUrl, "Something went wrong. Code is not installed or there was another unspecified error.");
}
}

private async void OpenCodespaceButton_Click(object sender, RoutedEventArgs e)
{
string openCodespaceUrl = $"https://github.com/codespaces/new?hide_repo_select=true&repo={ViewModel.Repository.Owner.Login}/{ViewModel.Repository.Name}";
Expand All @@ -135,6 +137,7 @@ private async void OpenCodespaceButton_Click(object sender, RoutedEventArgs e)
Log.Error(openCodespaceUrl, "Something went wrong opening GitHub Codespaces in the user's browser.");
}
}

private async void DownloadZipButton_Click(object sender, RoutedEventArgs e)
{
string downloadZipUrl = _repoUrl + $"/archive/refs/heads/{ViewModel.BranchName}.zip"; // Just made it with the main branch
Expand Down

0 comments on commit 73e63b7

Please sign in to comment.