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