2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
This commit is contained in:
Sawyer Blatz 2020-06-23 14:05:55 -07:00 committed by Emily Kager
parent 8e9f5516d7
commit ae9d06bee5

View File

@ -527,14 +527,7 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
) )
session.register(observer = object : Session.Observer { session.register(observer = object : Session.Observer {
override fun onNavigationStateChanged( override fun onUrlChanged(session: Session, url: String) {
session: Session,
canGoBack: Boolean,
canGoForward: Boolean
) {
// Once https://bugzilla.mozilla.org/show_bug.cgi?id=1626338 is fixed, we can
// rely solely on `onLoadRequest` entirely, but as it stands that is not called
// for history navigation (back or forward).
browserToolbarView.expand() browserToolbarView.expand()
} }