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