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:
Christian Sadilek 2019-07-31 12:14:05 -04:00 committed by Sawyer Blatz
parent ca4be8ef2a
commit a320e9568b

View File

@ -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()