Compare commits
2 Commits
d37c5dde2f
...
bab0dd3294
Author | SHA1 | Date |
---|---|---|
Shadowfacts | bab0dd3294 | |
Shadowfacts | 8a3acc6889 |
|
@ -2968,7 +2968,7 @@
|
|||
repositoryURL = "https://git.shadowfacts.net/shadowfacts/HTMLStreamer.git";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 0.2.0;
|
||||
version = 0.2.1;
|
||||
};
|
||||
};
|
||||
D63CC700290EC0B8000E19DE /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
|
||||
|
|
|
@ -332,9 +332,13 @@ class CustomAlertActionsView: UIControl {
|
|||
if action.handler == nil,
|
||||
case .menu(_) = action.style,
|
||||
let interaction = button.contextMenuInteraction {
|
||||
let selector = NSSelectorFromString(["Location:", "At", "Menu", "present", "_"].reversed().joined())
|
||||
if interaction.responds(to: selector) {
|
||||
interaction.perform(selector, with: recognizer.location(in: button))
|
||||
if #available(iOS 17.4, *) {
|
||||
button.performPrimaryAction()
|
||||
} else {
|
||||
let selector = NSSelectorFromString(["Location:", "At", "Menu", "present", "_"].reversed().joined())
|
||||
if interaction.responds(to: selector) {
|
||||
interaction.perform(selector, with: recognizer.location(in: button))
|
||||
}
|
||||
}
|
||||
} else {
|
||||
action.handler?()
|
||||
|
|
Loading…
Reference in New Issue