mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-20 22:30:45 +08:00
Add cancel button to repository more options
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user