@ -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