@@ -3174,8 +3174,10 @@ class BrowserTabFragment :
3174
3174
daxBubbleCta.hideDaxBubbleCta(binding)
3175
3175
hideDaxBubbleCta()
3176
3176
if (onboardingDesignExperimentManager.isBuckEnrolledAndEnabled()) {
3177
- if (daxBubbleCta is DaxBubbleCta .DaxEndCta ) {
3178
- hideBuckEndAnimation()
3177
+ when (daxBubbleCta) {
3178
+ is DaxBubbleCta .DaxIntroSearchOptionsCta -> hideBuckMagnifyingGlassAnimation()
3179
+ is DaxBubbleCta .DaxEndCta -> hideBuckEndAnimation()
3180
+ else -> Unit
3179
3181
}
3180
3182
}
3181
3183
renderer.showNewTab()
@@ -4520,12 +4522,15 @@ class BrowserTabFragment :
4520
4522
}
4521
4523
4522
4524
if (onboardingDesignExperimentManager.isBuckEnrolledAndEnabled()) {
4523
- if (configuration is DaxIntroVisitSiteOptionsCta && context?.resources?.getBoolean(R .bool.show_wing_animation) == true ) {
4524
- lifecycleScope.launch {
4525
- with (newBrowserTab.wingAnimation) {
4526
- delay(2.5 .seconds)
4527
- show()
4528
- playAnimation()
4525
+ if (configuration is DaxIntroVisitSiteOptionsCta ) {
4526
+ hideBuckMagnifyingGlassAnimation()
4527
+ if (context?.resources?.getBoolean(R .bool.show_wing_animation) == true ) {
4528
+ lifecycleScope.launch {
4529
+ with (newBrowserTab.wingAnimation) {
4530
+ delay(2.5 .seconds)
4531
+ show()
4532
+ playAnimation()
4533
+ }
4529
4534
}
4530
4535
}
4531
4536
}
@@ -4736,6 +4741,10 @@ class BrowserTabFragment :
4736
4741
}
4737
4742
}
4738
4743
4744
+ private fun hideBuckMagnifyingGlassAnimation () {
4745
+ newBrowserTab.buckMagnifyingGlassAnimation.isGone = true
4746
+ }
4747
+
4739
4748
private fun hideBuckEndAnimation () {
4740
4749
newBrowserTab.buckEndAnimation.isGone = true
4741
4750
val backgroundColor = requireActivity().getColorFromAttr(attrColor = CommonR .attr.daxColorBackground)
0 commit comments