mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/16353: Avoid strict mode death on reading onboarding preference.
This commit is contained in:
parent
a1b3273427
commit
e68c318f1f
@ -223,9 +223,11 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler,
|
||||
|
||||
observeTabSelection(requireComponents.core.store)
|
||||
|
||||
lifecycleScope.launch(IO) {
|
||||
if (!onboarding.userHasBeenOnboarded()) {
|
||||
observeTabSource(requireComponents.core.store)
|
||||
}
|
||||
}
|
||||
|
||||
requireContext().accessibilityManager.addAccessibilityStateChangeListener(this)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user