diff --git a/pass/AppDelegate.swift b/pass/AppDelegate.swift index 9fd3f9a..3a7bd69 100644 --- a/pass/AppDelegate.swift +++ b/pass/AppDelegate.swift @@ -26,7 +26,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { SVProgressHUD.setMinimumSize(CGSize(width: 150, height: 100)) passcodeLockPresenter.present() if let shortcutItem = launchOptions?[UIApplicationLaunchOptionsKey.shortcutItem] as? UIApplicationShortcutItem { - if shortcutItem.type == "me.mssun.pass.search" { + if shortcutItem.type == "me.mssun.passforios.search" { self.perform(#selector(postSearchNotification), with: nil, afterDelay: 0.4) } } @@ -38,7 +38,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { } func application(_ application: UIApplication, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void) { - if shortcutItem.type == "me.mssun.pass.search" { + if shortcutItem.type == "me.mssun.passforios.search" { let tabBarController = self.window!.rootViewController as! UITabBarController tabBarController.selectedIndex = 0 let navigationController = tabBarController.selectedViewController as! UINavigationController