Correct validation so that we can still move feeds in Reader API accounts

This commit is contained in:
Maurice Parker 2020-10-31 17:37:25 -05:00
parent 5fdbd4b9d0
commit 2395c0c7df
1 changed files with 8 additions and 2 deletions

View File

@ -687,10 +687,16 @@ private extension SidebarOutlineDataSource {
}
for draggedFeed in draggedFeeds {
if dropTargetAccount.accountID == draggedFeed.accountID {
if NSApplication.shared.currentEvent?.modifierFlags.contains(.option) ?? false {
return true
}
} else {
if dropTargetAccount.hasWebFeed(withURL: draggedFeed.url) {
return true
}
}
}
return false
}