Merge pull request #1514 from hartlco/1503-delete-should-be-at-the-bottom-of-the-context-menu
Switch order of context menu items to show delete at the bottom #1503
This commit is contained in:
commit
c2d1f1c85a
|
@ -877,15 +877,15 @@ private extension MasterFeedViewController {
|
|||
actions.append(copyHomePageAction)
|
||||
}
|
||||
|
||||
if includeDeleteRename {
|
||||
actions.append(self.deleteAction(indexPath: indexPath))
|
||||
actions.append(self.renameAction(indexPath: indexPath))
|
||||
}
|
||||
|
||||
if let markAllAction = self.markAllAsReadAction(indexPath: indexPath) {
|
||||
actions.append(markAllAction)
|
||||
}
|
||||
|
||||
if includeDeleteRename {
|
||||
actions.append(self.renameAction(indexPath: indexPath))
|
||||
actions.append(self.deleteAction(indexPath: indexPath))
|
||||
}
|
||||
|
||||
return UIMenu(title: "", children: actions)
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue