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 f7dbb69 commit 4885899Copy full SHA for 4885899
src/Files.App/ViewModels/Dialogs/CreateShortcutDialogViewModel.cs
@@ -110,8 +110,10 @@ private async Task CreateShortcut()
110
if (string.IsNullOrEmpty(destinationName))
111
{
112
var destinationPath = DestinationItemPath.Replace('/', '\\');
113
+
114
if (destinationPath.EndsWith('\\'))
115
destinationPath = destinationPath.Substring(0, destinationPath.Length - 1);
116
117
destinationName = destinationPath.Substring(destinationPath.LastIndexOf('\\') + 1);
118
}
119
0 commit comments