Skip to content

Commit

Permalink
fix flash of dax dialog onboarding text (#2662)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/414709148257752/1206983882892075/f
Tech Design URL:
CC:

Description:
Fix a flash of text when the onboarding loads caused by the MainVC refactoring.
  • Loading branch information
brindy authored Apr 3, 2024
1 parent 71653ed commit 22ebea9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DuckDuckGo/DaxOnboardingViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 22ebea9

Please sign in to comment.