We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a85d95 commit 48b351fCopy full SHA for 48b351f
src/Files.App/Actions/FileSystem/PasteItemAsShortcutAction.cs
@@ -27,13 +27,13 @@ public PasteItemAsShortcutAction()
27
App.AppModel.PropertyChanged += AppModel_PropertyChanged;
28
}
29
30
- public async Task ExecuteAsync(object? parameter = null)
+ public Task ExecuteAsync(object? parameter = null)
31
{
32
if (context.ShellPage is null)
33
- return;
+ return Task.CompletedTask;
34
35
string path = context.ShellPage.ShellViewModel.WorkingDirectory;
36
- await UIFilesystemHelpers.PasteItemAsShortcutAsync(path, context.ShellPage);
+ return UIFilesystemHelpers.PasteItemAsShortcutAsync(path, context.ShellPage);
37
38
39
public bool GetIsExecutable()
0 commit comments