2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/4412: SiteSecurityClickedListener set incorrectly

This commit is contained in:
Christian Sadilek 2019-07-31 18:25:59 -04:00
parent ac8a2e24e1
commit 1505e5d1bb

View File

@ -223,10 +223,10 @@ class BrowserFragment : Fragment(), BackHandler {
) )
quickActionSheetView = QuickActionSheetView(view.nestedScrollQuickAction, browserInteractor) quickActionSheetView = QuickActionSheetView(view.nestedScrollQuickAction, browserInteractor)
}
browserToolbarView.view.setOnSiteSecurityClickedListener { browserToolbarView.view.setOnSiteSecurityClickedListener {
showQuickSettingsDialog() showQuickSettingsDialog()
}
} }
contextMenuFeature.set( contextMenuFeature.set(
@ -421,10 +421,6 @@ class BrowserFragment : Fragment(), BackHandler {
view = view) view = view)
} }
browserToolbarView.view.setOnSiteSecurityClickedListener {
showQuickSettingsDialog()
}
consumeFrom(browserStore) { consumeFrom(browserStore) {
quickActionSheetView.update(it) quickActionSheetView.update(it)
browserToolbarView.update(it) browserToolbarView.update(it)