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/1206 - call fullScreenFeature onBackPressed

This commit is contained in:
Emily Kager 2019-04-24 13:14:24 -07:00 committed by Colin Lee
parent 211c6e3f28
commit cbd543aef7

View File

@ -392,6 +392,7 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope {
override fun onBackPressed(): Boolean {
return when {
findInPageIntegration.onBackPressed() -> true
fullScreenFeature.onBackPressed() -> true
sessionFeature.onBackPressed() -> true
else -> false
}