diff --git a/app/src/main/java/org/mozilla/fenix/components/FindInPageIntegration.kt b/app/src/main/java/org/mozilla/fenix/components/FindInPageIntegration.kt index 859ab2bc96f1..e8b8385ba573 100644 --- a/app/src/main/java/org/mozilla/fenix/components/FindInPageIntegration.kt +++ b/app/src/main/java/org/mozilla/fenix/components/FindInPageIntegration.kt @@ -33,7 +33,9 @@ class FindInPageIntegration( override fun onLaunch(view: View, feature: LifecycleAwareFeature) { store.state.findCustomTabOrSelectedTab(sessionId)?.let { tab -> - if (tab is CustomTabSessionState) { + if (tab !is CustomTabSessionState) { + // Hide the toolbar to display find in page query (only + // needs to be done for regular tabs with bottom toolbar). toolbar.visibility = View.GONE } view.visibility = View.VISIBLE