From fa0be08e277510725c2e7a10edfbd18a7cfe0286 Mon Sep 17 00:00:00 2001 From: Chris Brind Date: Wed, 3 Apr 2024 10:52:20 +0100 Subject: [PATCH] cherry pick #2662 - fix dax dialog flash --- DuckDuckGo/DaxOnboardingViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DuckDuckGo/DaxOnboardingViewController.swift b/DuckDuckGo/DaxOnboardingViewController.swift index 05939278ad..1e92a93f79 100644 --- a/DuckDuckGo/DaxOnboardingViewController.swift +++ b/DuckDuckGo/DaxOnboardingViewController.swift @@ -69,7 +69,8 @@ class DaxOnboardingViewController: UIViewController, Onboarding { guard !view.isHidden else { return } daxDialogContainerHeight.constant = daxDialog?.calculateHeight() ?? 0 - + self.daxDialog?.reset() + DispatchQueue.main.asyncAfter(deadline: .now() + Constants.animationDelay) { self.transitionFromOnboarding() }