Add cancel button to repository more options

This commit is contained in:
Bas Broek
2017-09-22 07:41:42 +02:00
parent 707315dd76
commit cd269665df
3 changed files with 3 additions and 2 deletions

View File

@@ -117,6 +117,7 @@ PrimaryViewController {
alert.addAction(shareAction(sender: sender))
alert.addAction(safariAction())
alert.addAction(viewOwnerAction())
alert.addAction(UIAlertAction(title: Strings.cancel, style: .cancel))
alert.popoverPresentationController?.barButtonItem = sender
present(alert, animated: true)
}