mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-06-04 19:43:31 +08:00
Merge pull request #358 from rnystrom/repo-more-options
Add cancel button to repository more options
This commit is contained in:
@@ -249,7 +249,7 @@ IssueTextActionsViewDelegate {
|
||||
|
||||
alert.addAction(shareAction(sender: sender))
|
||||
alert.addAction(safariAction())
|
||||
alert.addAction(UIAlertAction(title: Strings.cancel, style: .cancel, handler: nil))
|
||||
alert.addAction(UIAlertAction(title: Strings.cancel, style: .cancel))
|
||||
alert.popoverPresentationController?.barButtonItem = sender
|
||||
present(alert, animated: true)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1900</string>
|
||||
<string>1901</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>LSApplicationQueriesSchemes</key>
|
||||
|
||||
Reference in New Issue
Block a user