Merge pull request #358 from rnystrom/repo-more-options

Add cancel button to repository more options
This commit is contained in:
Bas Broek
2017-09-22 09:49:49 +02:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -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)
}

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)
}

View File

@@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1900</string>
<string>1901</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>