diff --git a/safari/Universal/Kagi Search (iOS)/Base.lproj/LaunchScreen.storyboard b/safari/Universal/Kagi Search (iOS)/Base.lproj/LaunchScreen.storyboard index 620a70c..799c229 100644 --- a/safari/Universal/Kagi Search (iOS)/Base.lproj/LaunchScreen.storyboard +++ b/safari/Universal/Kagi Search (iOS)/Base.lproj/LaunchScreen.storyboard @@ -1,8 +1,11 @@ - + + - + + + @@ -12,17 +15,17 @@ - + - + - + @@ -31,6 +34,9 @@ - + + + + diff --git a/safari/Universal/Kagi Search (iOS)/Base.lproj/Main.storyboard b/safari/Universal/Kagi Search (iOS)/Base.lproj/Main.storyboard index d072a89..e83ed08 100644 --- a/safari/Universal/Kagi Search (iOS)/Base.lproj/Main.storyboard +++ b/safari/Universal/Kagi Search (iOS)/Base.lproj/Main.storyboard @@ -1,9 +1,10 @@ - + - + + @@ -11,7 +12,7 @@ - + @@ -19,6 +20,7 @@ + @@ -26,6 +28,7 @@ + @@ -36,4 +39,9 @@ + + + + + diff --git a/safari/Universal/Kagi Search (iOS)/Resources/Grant_Permissions_Animation_dark.gif b/safari/Universal/Kagi Search (iOS)/Resources/Grant_Permissions_Animation_dark.gif new file mode 100644 index 0000000..e05d6ce Binary files /dev/null and b/safari/Universal/Kagi Search (iOS)/Resources/Grant_Permissions_Animation_dark.gif differ diff --git a/safari/Universal/Kagi Search (iOS)/Resources/Grant_Permissions_Animation_light.gif b/safari/Universal/Kagi Search (iOS)/Resources/Grant_Permissions_Animation_light.gif new file mode 100644 index 0000000..0cc94a5 Binary files /dev/null and b/safari/Universal/Kagi Search (iOS)/Resources/Grant_Permissions_Animation_light.gif differ diff --git a/safari/Universal/Kagi Search (iOS)/Resources/Settings_Animation_dark.gif b/safari/Universal/Kagi Search (iOS)/Resources/Settings_Animation_dark.gif new file mode 100644 index 0000000..61c556a Binary files /dev/null and b/safari/Universal/Kagi Search (iOS)/Resources/Settings_Animation_dark.gif differ diff --git a/safari/Universal/Kagi Search (iOS)/Resources/Settings_Animation_light.gif b/safari/Universal/Kagi Search (iOS)/Resources/Settings_Animation_light.gif new file mode 100644 index 0000000..233eb1d Binary files /dev/null and b/safari/Universal/Kagi Search (iOS)/Resources/Settings_Animation_light.gif differ diff --git a/safari/Universal/Kagi Search (iOS)/SceneDelegate.swift b/safari/Universal/Kagi Search (iOS)/SceneDelegate.swift index 3bdc1f4..65fa568 100644 --- a/safari/Universal/Kagi Search (iOS)/SceneDelegate.swift +++ b/safari/Universal/Kagi Search (iOS)/SceneDelegate.swift @@ -13,6 +13,15 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let _ = (scene as? UIWindowScene) else { return } + + if let url = connectionOptions.urlContexts.first?.url { + Deeplinks.handleIncomingURL(url) + } + } + + func scene(_ scene: UIScene, openURLContexts URLContexts: Set) { + if let url = URLContexts.first?.url { + Deeplinks.handleIncomingURL(url) + } } - } diff --git a/safari/Universal/Kagi Search (macOS)/AppDelegate.swift b/safari/Universal/Kagi Search (macOS)/AppDelegate.swift index a95e879..ea1ca1c 100644 --- a/safari/Universal/Kagi Search (macOS)/AppDelegate.swift +++ b/safari/Universal/Kagi Search (macOS)/AppDelegate.swift @@ -23,6 +23,12 @@ class AppDelegate: NSObject, NSApplicationDelegate { func applicationDidFinishLaunching(_ notification: Notification) { // Override point for customization after application launch. } + + func application(_ application: NSApplication, open urls: [URL]) { + if let url = urls.first { + Deeplinks.handleIncomingURL(url) + } + } func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { return true diff --git a/safari/Universal/Kagi Search (macOS)/Base.lproj/Main.storyboard b/safari/Universal/Kagi Search (macOS)/Base.lproj/Main.storyboard index f679be9..ee58e6b 100644 --- a/safari/Universal/Kagi Search (macOS)/Base.lproj/Main.storyboard +++ b/safari/Universal/Kagi Search (macOS)/Base.lproj/Main.storyboard @@ -1,9 +1,9 @@ - + - - + + @@ -23,7 +23,7 @@ - +