We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590b8cb commit 3fe08b8Copy full SHA for 3fe08b8
app/src/main/java/com/duckduckgo/app/browser/BrowserTabFragment.kt
@@ -3187,8 +3187,10 @@ class BrowserTabFragment :
3187
binding.daxDialogOnboardingCtaContent.layoutTransition = LayoutTransition()
3188
binding.daxDialogOnboardingCtaContent.layoutTransition.enableTransitionType(LayoutTransition.CHANGING)
3189
3190
- if (swipingTabsFeature.isEnabled) {
3191
- binding.daxDialogOnboardingCtaContent.layoutTransition.setAnimateParentHierarchy(false)
+ lifecycleScope.launch {
+ if (withContext(dispatchers.io()) { swipingTabsFeature.isEnabled }) {
3192
+ binding.daxDialogOnboardingCtaContent.layoutTransition.setAnimateParentHierarchy(false)
3193
+ }
3194
}
3195
3196
0 commit comments