2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

For #4412: SiteSecurityClickedListener set incorrectly

This commit is contained in:
Christian Sadilek 2019-07-31 18:25:59 -04:00
parent ed31d990a4
commit 59c0005979

View File

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