Skip to content

Commit 0c8a35f

Browse files
committed
Update SidebarItem.cs
1 parent 9127d4e commit 0c8a35f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Files.App.Controls/Sidebar/SidebarItem.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,6 @@ private void SidebarItem_DragStarting(UIElement sender, DragStartingEventArgs ar
155155
var folder = await StorageFolder.GetFolderFromPathAsync(dragPath);
156156
request.SetData(new IStorageItem[] { folder });
157157
}
158-
else if (File.Exists(dragPath))
159-
{
160-
var file = await StorageFile.GetFileFromPathAsync(dragPath);
161-
request.SetData(new IStorageItem[] { file });
162-
}
163158
}
164159
catch
165160
{

0 commit comments

Comments
 (0)