mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-31 04:52:05 +00:00
Ignore interaction if not eligible for shortcuts
This commit is contained in:
parent
2d0680db54
commit
441b1059cf
@ -161,6 +161,9 @@ extension UISplitViewController {
|
||||
|
||||
extension AppDelegate {
|
||||
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
|
||||
guard ProductManager.shared.isEligible(forFeature: .siriShortcuts) else {
|
||||
return false
|
||||
}
|
||||
guard let interaction = userActivity.interaction else {
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user