1
0
Fork 0

For #2228 - Update Bookmark Status in onUrlChanged

master
Emily Kager 2019-05-23 16:08:56 -07:00 committed by Emily Kager
parent 7622b7a3fd
commit 4b7c8a7db1
1 changed files with 6 additions and 0 deletions

View File

@ -738,6 +738,12 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope {
super.onLoadingStateChanged(session, loading)
}
override fun onUrlChanged(session: Session, url: String) {
super.onUrlChanged(session, url)
updateBookmarkState(session)
}
}
getSessionById()?.register(observer)
return observer