1
0
Fork 0

For #10071: Fixes PWA showing toolbar onPause (#10306)

master
Sawyer Blatz 2020-04-29 14:03:59 -07:00 committed by GitHub
parent 4006501d41
commit 38e9b34659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -568,9 +568,8 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
final override fun onPause() {
super.onPause()
// If we didn't enter PiP, exit full screen on pause
if (!enteredPip) {
if (!enteredPip && fullScreenFeature.onBackPressed()) {
fullScreenChanged(false)
fullScreenFeature.onBackPressed()
}
enteredPip = false
if (findNavController().currentDestination?.id != R.id.searchFragment) {