Emily Kager 5 years ago committed by Colin Lee
parent 6a54b74c1e
commit 470b943edd

@ -371,6 +371,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
@CallSuper
override fun onSessionSelected(session: Session) {
(activity as HomeActivity).updateThemeForSession(session)
if (!browserInitialized) {
// Initializing a new coroutineScope to avoid ConcurrentModificationException in ObserverRegistry
// This will be removed when ObserverRegistry is deprecated by browser-state.

Loading…
Cancel
Save