diff --git a/DuckDuckGo/AppDelegate.swift b/DuckDuckGo/AppDelegate.swift index effd6aea22..b30091f228 100644 --- a/DuckDuckGo/AppDelegate.swift +++ b/DuckDuckGo/AppDelegate.swift @@ -817,7 +817,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate { if shortcutItem.type == ShortcutKey.passwords { mainViewController?.clearNavigationStack() - mainViewController?.launchAutofillLogins(openSearch: true) + // Give the `clearNavigationStack` call time to complete. + DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.5) { [weak self] in + self?.mainViewController?.launchAutofillLogins(openSearch: true) + } return }