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 9127d4e commit 0c8a35fCopy full SHA for 0c8a35f
src/Files.App.Controls/Sidebar/SidebarItem.cs
@@ -155,11 +155,6 @@ private void SidebarItem_DragStarting(UIElement sender, DragStartingEventArgs ar
155
var folder = await StorageFolder.GetFolderFromPathAsync(dragPath);
156
request.SetData(new IStorageItem[] { folder });
157
}
158
- else if (File.Exists(dragPath))
159
- {
160
- var file = await StorageFile.GetFileFromPathAsync(dragPath);
161
- request.SetData(new IStorageItem[] { file });
162
- }
163
164
catch
165
{
0 commit comments