mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4412: BrowserInteractor has not been initialized (https://github.com/mozilla-mobile/fenix/pull/4414)
This commit is contained in:
parent
ca4be8ef2a
commit
a320e9568b
@ -168,11 +168,11 @@ class BrowserFragment : Fragment(), BackHandler {
|
||||
|
||||
val sessionManager = requireComponents.core.sessionManager
|
||||
|
||||
val viewModel = activity!!.run {
|
||||
ViewModelProviders.of(this).get(CreateCollectionViewModel::class.java)
|
||||
}
|
||||
|
||||
getSessionById()?.let { session ->
|
||||
val viewModel = activity!!.run {
|
||||
ViewModelProviders.of(this).get(CreateCollectionViewModel::class.java)
|
||||
}
|
||||
|
||||
browserInteractor = BrowserInteractor(
|
||||
context = context!!,
|
||||
store = browserStore,
|
||||
@ -221,9 +221,9 @@ class BrowserFragment : Fragment(), BackHandler {
|
||||
owner = this,
|
||||
view = view
|
||||
)
|
||||
}
|
||||
|
||||
quickActionSheetView = QuickActionSheetView(view.nestedScrollQuickAction, browserInteractor)
|
||||
quickActionSheetView = QuickActionSheetView(view.nestedScrollQuickAction, browserInteractor)
|
||||
}
|
||||
|
||||
browserToolbarView.view.setOnSiteSecurityClickedListener {
|
||||
showQuickSettingsDialog()
|
||||
|
Loading…
Reference in New Issue
Block a user