From c5ee6b99b7e76b05a71425303987c89d427f46d3 Mon Sep 17 00:00:00 2001 From: Chris Brind Date: Tue, 2 Apr 2024 23:18:04 +0100 Subject: [PATCH] fix flash of dax dialog text --- 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() }