2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

Closes #855 - Remove customtab check for CustomTabToolbarFeature

This commit is contained in:
Emily Kager 2019-03-07 14:42:58 -08:00 committed by Jeff Boek
parent b1d0233b04
commit 0482a84c67

View File

@ -230,8 +230,7 @@ class BrowserFragment : Fragment(), BackHandler {
return when {
findInPageIntegration.onBackPressed() -> true
sessionFeature.onBackPressed() -> true
requireComponents.core.sessionManager.selectedSession?.isCustomTabSession()
?: false && customTabsToolbarFeature.onBackPressed() -> true
customTabsToolbarFeature.onBackPressed() -> true
else -> false
}
}