Switch order of context menu items to show delete at the bottom

This commit is contained in:
Martin Hartl 2020-01-02 08:16:29 +01:00
parent 3d09345ea3
commit 7b0261b401
1 changed files with 5 additions and 5 deletions

View File

@ -876,16 +876,16 @@ private extension MasterFeedViewController {
if let copyHomePageAction = self.copyHomePageAction(indexPath: indexPath) {
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)
})