@@ -3164,8 +3164,10 @@ class BrowserTabFragment :
3164
3164
daxBubbleCta.hideDaxBubbleCta(binding)
3165
3165
hideDaxBubbleCta()
3166
3166
if (onboardingDesignExperimentManager.isBuckEnrolledAndEnabled()) {
3167
- if (daxBubbleCta is DaxBubbleCta .DaxEndCta ) {
3168
- hideBuckEndAnimation()
3167
+ when (daxBubbleCta) {
3168
+ is DaxBubbleCta .DaxIntroSearchOptionsCta -> hideBuckMagnifyingGlassAnimation()
3169
+ is DaxBubbleCta .DaxEndCta -> hideBuckEndAnimation()
3170
+ else -> Unit
3169
3171
}
3170
3172
}
3171
3173
renderer.showNewTab()
@@ -4510,12 +4512,15 @@ class BrowserTabFragment :
4510
4512
}
4511
4513
4512
4514
if (onboardingDesignExperimentManager.isBuckEnrolledAndEnabled()) {
4513
- if (configuration is DaxIntroVisitSiteOptionsCta && context?.resources?.getBoolean(R .bool.show_wing_animation) == true ) {
4514
- lifecycleScope.launch {
4515
- with (newBrowserTab.wingAnimation) {
4516
- delay(2.5 .seconds)
4517
- show()
4518
- playAnimation()
4515
+ if (configuration is DaxIntroVisitSiteOptionsCta ) {
4516
+ hideBuckMagnifyingGlassAnimation()
4517
+ if (context?.resources?.getBoolean(R .bool.show_wing_animation) == true ) {
4518
+ lifecycleScope.launch {
4519
+ with (newBrowserTab.wingAnimation) {
4520
+ delay(2.5 .seconds)
4521
+ show()
4522
+ playAnimation()
4523
+ }
4519
4524
}
4520
4525
}
4521
4526
}
@@ -4726,6 +4731,10 @@ class BrowserTabFragment :
4726
4731
}
4727
4732
}
4728
4733
4734
+ private fun hideBuckMagnifyingGlassAnimation () {
4735
+ newBrowserTab.buckMagnifyingGlassAnimation.isGone = true
4736
+ }
4737
+
4729
4738
private fun hideBuckEndAnimation () {
4730
4739
newBrowserTab.buckEndAnimation.isGone = true
4731
4740
val backgroundColor = requireActivity().getColorFromAttr(attrColor = CommonR .attr.daxColorBackground)
0 commit comments