1
0
Fork 0

For #5033 - Update browsing mode when session selected (#5118)

master
Emily Kager 2019-09-05 12:27:30 -07:00 committed by Colin Lee
parent d18ec43bcb
commit 58287cd5bb
1 changed files with 1 additions and 0 deletions

View File

@ -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.