Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/SVNPathCopy.Configuration/ViewModels/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private async Task InstallShellExtension()
StatusMessage = "Installing shell extension... Please accept the UAC prompt if it appears.";
IsStatusError = false;

await Task.Run(() => { _shellExtensionService.Register(); });
await Task.Run(() => _shellExtensionService.Register());

// Small delay to allow registry to update
await Task.Delay(500);
Expand Down Expand Up @@ -265,7 +265,7 @@ private async Task UninstallShellExtension()
StatusMessage = "Uninstalling shell extension... Please accept the UAC prompt if it appears.";
IsStatusError = false;

await Task.Run(() => { _shellExtensionService.Unregister(); });
await Task.Run(() => _shellExtensionService.Unregister());

// Small delay to allow registry to update
await Task.Delay(500);
Expand Down