Get the name from the dragged feed, if present, to use in the add-feed sheet.

This commit is contained in:
Brent Simmons 2018-09-22 14:57:10 -07:00
parent f7ae284b53
commit 601c95bee7
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ private extension SidebarOutlineDataSource {
// Show the add-feed sheet.
let folder = parentNode.representedObject as? Folder
appDelegate.addFeed(draggedFeed.url, name: nil, folder: folder)
appDelegate.addFeed(draggedFeed.url, name: draggedFeed.editedName ?? draggedFeed.name, folder: folder)
return true
}
}