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:
parent
211c6e3f28
commit
cbd543aef7
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user