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