Change to always copy between accounts. Fixes #2871
This commit is contained in:
parent
b475aa2ca6
commit
bf76cb810d
|
@ -249,14 +249,10 @@ private extension SidebarOutlineDataSource {
|
|||
} else {
|
||||
return .move
|
||||
}
|
||||
} else {
|
||||
if NSApplication.shared.currentEvent?.modifierFlags.contains(.option) ?? false {
|
||||
return .move
|
||||
} else {
|
||||
return .copy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func accountForNode(_ node: Node) -> Account? {
|
||||
if let account = node.representedObject as? Account {
|
||||
|
@ -452,14 +448,10 @@ private extension SidebarOutlineDataSource {
|
|||
} else {
|
||||
moveWebFeedInAccount(node: node, to: parentNode)
|
||||
}
|
||||
} else {
|
||||
if NSApplication.shared.currentEvent?.modifierFlags.contains(.option) ?? false {
|
||||
moveWebFeedBetweenAccounts(node: node, to: parentNode)
|
||||
} else {
|
||||
copyWebFeedBetweenAccounts(node: node, to: parentNode)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
@ -579,13 +571,9 @@ private extension SidebarOutlineDataSource {
|
|||
|
||||
draggedNodes.forEach { node in
|
||||
if !sameAccount(node, parentNode) {
|
||||
if NSApplication.shared.currentEvent?.modifierFlags.contains(.option) ?? false {
|
||||
moveFolderBetweenAccounts(node: node, to: parentNode)
|
||||
} else {
|
||||
copyFolderBetweenAccounts(node: node, to: parentNode)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue