2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

For #3201 - Update bookmark state when session selected

This commit is contained in:
ekager 2019-07-03 11:19:18 -07:00 committed by Emily Kager
parent f60536b13c
commit 57ca75139b

View File

@ -895,6 +895,7 @@ class BrowserFragment : Fragment(), BackHandler {
override fun onSessionSelected(session: Session) { override fun onSessionSelected(session: Session) {
super.onSessionSelected(session) super.onSessionSelected(session)
(activity as HomeActivity).updateThemeForSession(session) (activity as HomeActivity).updateThemeForSession(session)
updateBookmarkState(session)
} }
}.also { requireComponents.core.sessionManager.register(it, this) } }.also { requireComponents.core.sessionManager.register(it, this) }
} }